power: supply: ds2782: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Nov 2022 22:44:17 +0000 (23:44 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 20 Nov 2022 19:12:16 +0000 (20:12 +0100)
commit433e380226799bfcd823adca1c5e1aec8e2ef72a
tree81fad085c01220695564f0c4858aeca05a626496
parent67f56c79a5723cbdd9dd7bbb1a0375895c2d122f
power: supply: ds2782: 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: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ds2782_battery.c