power: supply: bq24190_charger: drop of_match_ptr() from device ID table
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 17 Jun 2021 18:23:10 +0000 (21:23 +0300)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 29 Jun 2021 22:07:34 +0000 (00:07 +0200)
commitdf6f3f7eb70d310c3cee2d8e08ed32067fb6fcf4
treebd11c846960cc4e72043ee415b4e891a0d204290
parent30e677a2ba2920b1234d1b38307dfa1dbb993e20
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>
drivers/power/supply/bq24190_charger.c