platform/surface: surface3_power: Switch back to use struct i2c_driver's .probe()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 12 Jun 2023 07:39:00 +0000 (09:39 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 13 Jun 2023 10:32:16 +0000 (12:32 +0200)
commit8802fcfb57d5ec1adc866bde010f07be78267e4e
treeaf062876b21161f14d331b5faa41b706eef65120
parentf2b689ab2f8cc089cc7659c323f282e6a1fb6d64
platform/surface: surface3_power: Switch back to use struct i2c_driver's .probe()

After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
commit 03c835f498b5 ("i2c: Switch .probe() to not take an id parameter")
convert back to (the new) .probe() to be able to eventually drop
.probe_new() from struct i2c_driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20230612073902.840435-2-u.kleine-koenig@pengutronix.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/surface3_power.c