Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-By: Tobias Schramm <t.schramm@manjaro.org>
Tested-By: Tobias Schramm <t.schramm@manjaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Andy Shevchenko and committed by
Sebastian Reichel
152204db 5a1c9565

+1
+1
drivers/power/supply/cw2015_battery.c
··· 734 734 static struct i2c_driver cw_bat_driver = { 735 735 .driver = { 736 736 .name = "cw2015", 737 + .of_match_table = cw2015_of_match, 737 738 .pm = &cw_bat_pm_ops, 738 739 }, 739 740 .probe_new = cw_bat_probe,