From: Andy Shevchenko Date: Sat, 30 May 2020 16:40:30 +0000 (+0300) Subject: power: supply: cw2015: Attach OF ID table to the driver X-Git-Tag: v5.8-rc1~70^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=152204dbdcee6df9406f87c81f9591aeaf1ba55b;p=linux-block.git 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 Signed-off-by: Andy Shevchenko Acked-By: Tobias Schramm Tested-By: Tobias Schramm Signed-off-by: Sebastian Reichel --- diff --git a/drivers/power/supply/cw2015_battery.c b/drivers/power/supply/cw2015_battery.c index 19f62ea957ee..0146f1bfc29b 100644 --- a/drivers/power/supply/cw2015_battery.c +++ b/drivers/power/supply/cw2015_battery.c @@ -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,