projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c53fb0
)
hwmon: (pmbus) Update documentation to not use .probe_new() any more
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Tue, 27 Jun 2023 06:49:48 +0000
(08:49 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 21 Aug 2023 13:04:29 +0000
(06:04 -0700)
Since commit
03c835f498b5
("i2c: Switch .probe() to not take an id
parameter") .probe() is the recommended callback to implement an i2c
driver (again). Reflect this in the documentation and don't mention
.probe_new() which will be dropped soon.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link:
https://lore.kernel.org/r/20230627064948.593804-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/pmbus.rst
patch
|
blob
|
history
diff --git
a/Documentation/hwmon/pmbus.rst
b/Documentation/hwmon/pmbus.rst
index 7ecfec6ca2dbcb2e0028a6c445dc506169bf66c0..eb1569bfa676eaca0853839cf5235df2f523c7e2 100644
(file)
--- a/
Documentation/hwmon/pmbus.rst
+++ b/
Documentation/hwmon/pmbus.rst
@@
-163,7
+163,7
@@
Emerson DS1200 power modules might look as follows::
.driver = {
.name = "ds1200",
},
- .probe
_new
= ds1200_probe,
+ .probe = ds1200_probe,
.id_table = ds1200_id,
};