diff options
| author | Andy Shevchenko <[email protected]> | 2021-06-17 18:23:10 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2021-06-29 22:07:34 +0000 |
| commit | df6f3f7eb70d310c3cee2d8e08ed32067fb6fcf4 (patch) | |
| tree | bd11c846960cc4e72043ee415b4e891a0d204290 /drivers/fpga/fpga-bridge.c | |
| parent | drivers: power: add missing MODULE_DEVICE_TABLE in keystone-reset.c (diff) | |
| download | kernel-df6f3f7eb70d310c3cee2d8e08ed32067fb6fcf4.tar.gz kernel-df6f3f7eb70d310c3cee2d8e08ed32067fb6fcf4.zip | |
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 <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
