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