Skip to content

Commit 152204d

Browse files
andy-shevsre
authored andcommitted
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: b4c7715 ("power: supply: add CellWise cw2015 fuel gauge driver") Reported-by: kbuild test robot <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Acked-By: Tobias Schramm <[email protected]> Tested-By: Tobias Schramm <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 5a1c956 commit 152204d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/power/supply/cw2015_battery.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ MODULE_DEVICE_TABLE(of, cw2015_of_match);
734734
static struct i2c_driver cw_bat_driver = {
735735
.driver = {
736736
.name = "cw2015",
737+
.of_match_table = cw2015_of_match,
737738
.pm = &cw_bat_pm_ops,
738739
},
739740
.probe_new = cw_bat_probe,

0 commit comments

Comments
 (0)