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]>
Acked-By: Tobias Schramm <[email protected]>
Tested-By: Tobias Schramm <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
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,