Commit 152204db authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Sebastian Reichel

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: b4c7715c ("power: supply: add CellWise cw2015 fuel gauge driver")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-By: default avatarTobias Schramm <t.schramm@manjaro.org>
Tested-By: default avatarTobias Schramm <t.schramm@manjaro.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 5a1c9565
...@@ -734,6 +734,7 @@ MODULE_DEVICE_TABLE(of, cw2015_of_match); ...@@ -734,6 +734,7 @@ MODULE_DEVICE_TABLE(of, cw2015_of_match);
static struct i2c_driver cw_bat_driver = { static struct i2c_driver cw_bat_driver = {
.driver = { .driver = {
.name = "cw2015", .name = "cw2015",
.of_match_table = cw2015_of_match,
.pm = &cw_bat_pm_ops, .pm = &cw_bat_pm_ops,
}, },
.probe_new = cw_bat_probe, .probe_new = cw_bat_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment