[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240812-chipcap2-probe-improvements-v1-0-3cdff6d16897@gmail.com>
Date: Mon, 12 Aug 2024 17:43:01 +0200
From: Javier Carrasco <javier.carrasco.cruz@...il.com>
To: Jean Delvare <jdelvare@...e.com>, Guenter Roeck <linux@...ck-us.net>
Cc: linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Subject: [PATCH 0/2] hwmon: chipcap2: small improvements in probe function
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@...il.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@...il.com>
Powered by blists - more mailing lists