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

From: Javier Carrasco
Date: Mon Aug 12 2024 - 11:43:40 EST


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@xxxxxxxxx>
---
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,
--
Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>