mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 21:03:32 +00:00
i2c: Update documentation to use .probe() again
Since commit 03c835f498
("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>
This commit is contained in:
parent
0abbf0ac10
commit
7d711966f9
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ driver model device node, and its I2C address.
|
||||||
},
|
},
|
||||||
|
|
||||||
.id_table = foo_idtable,
|
.id_table = foo_idtable,
|
||||||
.probe_new = foo_probe,
|
.probe = foo_probe,
|
||||||
.remove = foo_remove,
|
.remove = foo_remove,
|
||||||
/* if device autodetection is needed: */
|
/* if device autodetection is needed: */
|
||||||
.class = I2C_CLASS_SOMETHING,
|
.class = I2C_CLASS_SOMETHING,
|
||||||
|
|
Loading…
Reference in a new issue