提交 152204db 编写于 作者: A Andy Shevchenko 提交者: 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: Nkbuild test robot <lkp@intel.com>
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-By: NTobias Schramm <t.schramm@manjaro.org>
Tested-By: NTobias Schramm <t.schramm@manjaro.org>
Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册