mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
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: b4c7715c10
("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>
This commit is contained in:
parent
5a1c9565c0
commit
152204dbdc
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue