power: supply: smb347: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Nov 2022 22:44:28 +0000 (23:44 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 20 Nov 2022 19:12:17 +0000 (20:12 +0100)
commit6d43a4b0b2f8ab6c9893e2673a133d1798b230e1
treef1fe298c886cde34d14661b02f5d950368a07abf
parent02d1a40141a7b9d9cb8ef151c14e7d7aeaa56966
power: supply: smb347: 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/smb347-charger.c