i2c: Update documentation to use .probe() again
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 27 Jun 2023 06:45:22 +0000 (08:45 +0200)
committerWolfram Sang <wsa@kernel.org>
Mon, 14 Aug 2023 16:14:04 +0000 (18:14 +0200)
commit7d711966f94c189f38d9e2df05152a2336352ab8
tree2219fa452413788dc1818ef341acacb4941a9029
parent0abbf0ac10eeede6e771a1a79342baf5e8466ee3
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>
Documentation/i2c/writing-clients.rst