diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-11 19:27:27 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-10-03 23:17:50 +0300 |
commit | 5bcb3dae01da624e353ba3acdcd045a2fe540675 (patch) | |
tree | 0d2975dd3e5e0976fb872b6be47c4a7925eab93b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 439cd7eddc77638eda29874ec84c8fafb69e1fde (diff) | |
download | linux-5bcb3dae01da624e353ba3acdcd045a2fe540675.tar.xz |
power: supply: rt9455: 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/rt9455_charger.c:1734:36: warning:
'rt9455_i2c_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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions