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