Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH v1 1/8] hwmon: (adt7410) Pass name to core driver
@ 2021-12-21 20:11 Cosmin Tanislav
  2021-12-21 20:11 ` [PATCH v1 2/8] hwmon: (adt7x10) Store bus_dev in private data Cosmin Tanislav
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Cosmin Tanislav @ 2021-12-21 20:11 UTC (permalink / raw)
  Cc: cosmin.tanislav, demonsingur, Jean Delvare, Guenter Roeck,
	linux-hwmon, linux-kernel

From: Cosmin Tanislav <cosmin.tanislav@analog.com>

It will later be used to register hwmon device using
hwmon_device_register_with_info.

Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
---
 drivers/hwmon/adt7410.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/adt7410.c b/drivers/hwmon/adt7410.c
index 973db057427b..ef4b5af865e9 100644
--- a/drivers/hwmon/adt7410.c
+++ b/drivers/hwmon/adt7410.c
@@ -45,7 +45,7 @@ static int adt7410_i2c_probe(struct i2c_client *client)
 			I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA))
 		return -ENODEV;
 
-	return adt7x10_probe(&client->dev, NULL, client->irq, &adt7410_i2c_ops);
+	return adt7x10_probe(&client->dev, client->name, client->irq, &adt7410_i2c_ops);
 }
 
 static int adt7410_i2c_remove(struct i2c_client *client)
-- 
2.34.1


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

end of thread, other threads:[~2021-12-21 20:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-21 20:11 [PATCH v1 1/8] hwmon: (adt7410) Pass name to core driver Cosmin Tanislav
2021-12-21 20:11 ` [PATCH v1 2/8] hwmon: (adt7x10) Store bus_dev in private data Cosmin Tanislav
2021-12-21 20:11 ` [PATCH v1 3/8] hwmon: (adt7x10) Add device managed action for restoring config Cosmin Tanislav
2021-12-21 20:11 ` [PATCH v1 4/8] hwmon: (adt7x10) Use devm_hwmon_device_register_with_info Cosmin Tanislav
2021-12-21 20:11 ` [PATCH v1 5/8] hwmon: (adt7x10) Use devm_request_threaded_irq Cosmin Tanislav
2021-12-21 20:11 ` [PATCH v1 6/8] hwmon: (adt7x10) Remove empty driver removal callback Cosmin Tanislav
2021-12-21 20:11 ` [PATCH v1 7/8] hwmon: (adt7x10) Pass hwinfo dev to irq handler Cosmin Tanislav
2021-12-21 20:11 ` [PATCH v1 8/8] hwmon: (adt7x10) Use hwmon_notify_event Cosmin Tanislav
2021-12-21 20:47 ` [PATCH v1 1/8] hwmon: (adt7410) Pass name to core driver Guenter Roeck
2021-12-21 20:58   ` Cosmin Tanislav

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