diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-11 18:27:23 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-10-03 22:17:50 +0200 |
commit | 7da9f17fc2b9a3493c6fd55e96521485035bc670 (patch) | |
tree | 2149ec57bd7b0138e94a5d92061b26e26dab8280 /COPYING | |
parent | ee2d433cb47338cd40af800cdab5133f62edca10 (diff) | |
download | linux-next-7da9f17fc2b9a3493c6fd55e96521485035bc670.tar.gz |
power: supply: bq24257: skip 'struct acpi_device_id' when !CONFIG_ACPI
Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI, the
struct acpi_device_id becomes unused:
drivers/power/supply/bq24257_charger.c:1155:36: warning:
'bq24257_acpi_match' defined but not used [-Wunused-const-variable=]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions