projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dbbaf8
)
hwmon: max31827: Switch back to use struct i2c_driver::probe
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Mon, 26 Jun 2023 08:51:45 +0000
(10:51 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 26 Jun 2023 13:45:54 +0000
(06:45 -0700)
struct i2c_driver::probe_new is about to go away. Switch the driver to
use the probe callback with the same prototype.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link:
https://lore.kernel.org/r/20230626085145.554616-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max31827.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/max31827.c
b/drivers/hwmon/max31827.c
index
7735e80
..
602f4e4
100644
(file)
--- a/
drivers/hwmon/max31827.c
+++ b/
drivers/hwmon/max31827.c
@@
-456,7
+456,7
@@
static struct i2c_driver max31827_driver = {
.name = "max31827",
.of_match_table = max31827_of_match,
},
- .probe
_new
= max31827_probe,
+ .probe = max31827_probe,
.id_table = max31827_i2c_ids,
};
module_i2c_driver(max31827_driver);