]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
misc: ad525x_dpot-i2c: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 26 Feb 2023 22:26:46 +0000 (23:26 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 9 Mar 2023 20:58:45 +0000 (21:58 +0100)
commit55e7dddcaf4a55d2f097463cdf5709c3278c6fa9
tree5d80a071d933a6b3541505bc50089d43388e0adf
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
misc: ad525x_dpot-i2c: Convert to i2c's .probe_new()

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/lkml/20221118224540.619276-483-uwe@kleine-koenig.org
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/misc/ad525x_dpot-i2c.c