commit | 7da9f17fc2b9a3493c6fd55e96521485035bc670 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Fri Sep 11 18:27:23 2020 +0200 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Sat Oct 03 22:17:50 2020 +0200 |
tree | 2149ec57bd7b0138e94a5d92061b26e26dab8280 | |
parent | ee2d433cb47338cd40af800cdab5133f62edca10 [diff] |
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>