power: supply: cw2015: Attach OF ID table to the driver
Subsystems (2)
PATCH 1/1 power: supply: cw2015: Attach OF ID table to the driver
It appears that OF ID table was hanging around without being attached to the driver. Attach it properly.
Fixes b4c7715c10c1 ("power: supply: add CellWise cw2015 fuel gauge driver")
Reported-by kbuild test robot <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/power/supply/cw2015_battery.c | 1 + 1 file changed, 1 insertion(+)
drivers/power/supply/cw2015_battery.c +1 -0
@@ -734,6 +734,7 @@ MODULE_DEVICE_TABLE(of, cw2015_of_match);static struct i2c_driver cw_bat_driver = { .driver = { .name ="cw2015" , + .of_match_table = cw2015_of_match, .pm = &cw_bat_pm_ops, }, .probe_new = cw_bat_probe,
Signature · 1 line
2.27.0.rc2
Hi Andy,
drivers/power/supply/cw2015_battery.c MODULE_DEVICE_TABLE(of, cw2015_of_match); · line 740
Quoted 13 lines
drivers/power/supply/cw2015_battery.c +1
-0@@ -734,6 +734,7 @@ MODULE_DEVICE_TABLE(of, cw2015_of_match);static struct i2c_driver cw_bat_driver = { .driver = { .name ="cw2015" , + .of_match_table = cw2015_of_match, .pm = &cw_bat_pm_ops, }, .probe_new = cw_bat_probe,
LGTM.
Acked-by Tobias Schramm <[email protected]>
Tested-by Tobias Schramm <[email protected]>
Thanks,
Tobias
Sebastian Reichel
maintainerHi,
Quoted 18 lines · Tobias Schramm
Hi Andy,
drivers/power/supply/cw2015_battery.c MODULE_DEVICE_TABLE(of, cw2015_of_match); · line 740
Quoted 13 lines
drivers/power/supply/cw2015_battery.c +1
-0@@ -734,6 +734,7 @@ MODULE_DEVICE_TABLE(of, cw2015_of_match);static struct i2c_driver cw_bat_driver = { .driver = { .name ="cw2015" , + .of_match_table = cw2015_of_match, .pm = &cw_bat_pm_ops, }, .probe_new = cw_bat_probe,LGTM.
Quoted 2 lines
Acked-by Tobias Schramm <[email protected]>Tested-by Tobias Schramm <[email protected]>
Thanks, queued.
-- Sebastian