diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-06-27 08:45:22 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-08-14 18:14:04 +0200 |
commit | 7d711966f94c189f38d9e2df05152a2336352ab8 (patch) | |
tree | 2219fa452413788dc1818ef341acacb4941a9029 /Documentation/i2c | |
parent | 0abbf0ac10eeede6e771a1a79342baf5e8466ee3 (diff) | |
download | lwn-7d711966f94c189f38d9e2df05152a2336352ab8.tar.gz lwn-7d711966f94c189f38d9e2df05152a2336352ab8.zip |
i2c: Update documentation to use .probe() again
Since commit 03c835f498b5 ("i2c: Switch .probe() to not take an id
parameter") .probe() is the recommended callback to implement (again).
Reflect this in the documentation and don't mention .probe_new() any
more.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/i2c')
-rw-r--r-- | Documentation/i2c/writing-clients.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/i2c/writing-clients.rst b/Documentation/i2c/writing-clients.rst index b7d3ae7458f8..41ddc10f1ac7 100644 --- a/Documentation/i2c/writing-clients.rst +++ b/Documentation/i2c/writing-clients.rst @@ -46,7 +46,7 @@ driver model device node, and its I2C address. }, .id_table = foo_idtable, - .probe_new = foo_probe, + .probe = foo_probe, .remove = foo_remove, /* if device autodetection is needed: */ .class = I2C_CLASS_SOMETHING, |