mbox series

[0/2] Qcom Geni exit path cleanups

Message ID 20241210231054.2844202-1-andi.shyti@kernel.org (mailing list archive)
Headers show
Series Qcom Geni exit path cleanups | expand

Message

Andi Shyti Dec. 10, 2024, 11:10 p.m. UTC
Hi,

I am submitting two trivial cleanups in this series. The first 
replaces all instances of dev_err with dev_err_probe throughout 
the probe function for consistency. The second improves the error
exit path by introducing a single 'goto' label for better 
maintainability.

Thank you,  
Andi

Andi Shyti (2):
  i2c: qcom-geni: Use dev_err_probe in the probe function
  i2c: qcom-geni: Simplify error handling in probe function

 drivers/i2c/busses/i2c-qcom-geni.c | 53 ++++++++++++++----------------
 1 file changed, 25 insertions(+), 28 deletions(-)