summaryrefslogtreecommitdiff
path: root/drivers/power/supply/axp288_fuel_gauge.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-06-17 21:23:10 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-06-30 00:07:34 +0200
commitdf6f3f7eb70d310c3cee2d8e08ed32067fb6fcf4 (patch)
treebd11c846960cc4e72043ee415b4e891a0d204290 /drivers/power/supply/axp288_fuel_gauge.c
parent30e677a2ba2920b1234d1b38307dfa1dbb993e20 (diff)
power: supply: bq24190_charger: drop of_match_ptr() from device ID table
The driver can match only via the DT table so the table should be always used and the of_match_ptr() does not have any sense (this also allows ACPI matching via PRP0001, even though it might be not relevant here). This fixes compile warning (!CONFIG_OF): drivers/power/supply/bq24190_charger.c:1972:34: warning: ‘bq24190_of_match’ defined but not used [-Wunused-const-variable=] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/axp288_fuel_gauge.c')
0 files changed, 0 insertions, 0 deletions