commit | 02067dc96c6098b5489636ccf54db1c81d9bada9 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Fri Sep 11 18:27:25 2020 +0200 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Sat Oct 03 22:17:50 2020 +0200 |
tree | e3de88a650eafb126fccc1d0011c658055e9b463 | |
parent | 66ac8df5e0fd6cad6821e0cbd4bc172afdd784f7 [diff] |
power: supply: bq25890: 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/bq25890_charger.c:1076:36: warning: 'bq25890_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>