diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-06-17 21:23:10 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-06-30 00:07:34 +0200 |
commit | df6f3f7eb70d310c3cee2d8e08ed32067fb6fcf4 (patch) | |
tree | bd11c846960cc4e72043ee415b4e891a0d204290 /lib/mpi/mpi-add.c | |
parent | 30e677a2ba2920b1234d1b38307dfa1dbb993e20 (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 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions