mbox series

[0/2] hwmon: chipcap2: small improvements in probe function

Message ID 20240812-chipcap2-probe-improvements-v1-0-3cdff6d16897@gmail.com (mailing list archive)
Headers show
Series hwmon: chipcap2: small improvements in probe function | expand

Message

Javier Carrasco Aug. 12, 2024, 3:43 p.m. UTC
These modifications only affect error paths, simplifying a case where
dev_err_probe() could be returned, and disabling the sensor if getting
the ready interrupt fails.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (2):
      hwmon: chipcap2: return dev_err_probe if get regulator fails
      hwmon: chipcap2: disable sensor if request ready irq fails

 drivers/hwmon/chipcap2.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
base-commit: 9e6869691724b12e1f43655eeedc35fade38120c
change-id: 20240812-chipcap2-probe-improvements-c94d1431f1ef

Best regards,