leds: pca963x: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Nov 2022 22:40:19 +0000 (23:40 +0100)
committerLee Jones <lee@kernel.org>
Mon, 30 Jan 2023 08:03:31 +0000 (08:03 +0000)
commit2c6aaf88a265c44d094ab1edd07d2f6b003f5d1b
treefc1bf89483a35e55ce78de4586d4b2af4654de00
parent1e1e667fe3871bd52b2c8e6104fec9301a14aeee
leds: pca963x: Convert to i2c's .probe_new()

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

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221118224540.619276-286-uwe@kleine-koenig.org
drivers/leds/leds-pca963x.c