Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: chipcap2: small improvements in probe function
@ 2024-08-12 15:43 Javier Carrasco
  2024-08-12 15:43 ` [PATCH 1/2] hwmon: chipcap2: return dev_err_probe if get regulator fails Javier Carrasco
  2024-08-12 15:43 ` [PATCH 2/2] hwmon: chipcap2: disable sensor if request ready irq fails Javier Carrasco
  0 siblings, 2 replies; 9+ messages in thread
From: Javier Carrasco @ 2024-08-12 15:43 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck; +Cc: linux-hwmon, linux-kernel, Javier Carrasco

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-08-12 22:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12 15:43 [PATCH 0/2] hwmon: chipcap2: small improvements in probe function Javier Carrasco
2024-08-12 15:43 ` [PATCH 1/2] hwmon: chipcap2: return dev_err_probe if get regulator fails Javier Carrasco
2024-08-12 15:43 ` [PATCH 2/2] hwmon: chipcap2: disable sensor if request ready irq fails Javier Carrasco
2024-08-12 16:49   ` Guenter Roeck
2024-08-12 19:59     ` Javier Carrasco
2024-08-12 20:08       ` Guenter Roeck
2024-08-12 20:48         ` Javier Carrasco
2024-08-12 21:26           ` Guenter Roeck
2024-08-12 22:04             ` Javier Carrasco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox