diff options
author | 2020-04-15 17:15:31 +0300 | |
---|---|---|
committer | 2020-04-17 12:30:06 +0200 | |
commit | c59042ed896592eba6a5f8baa9c12aec7e36db20 (patch) | |
tree | c112ca3520f2648aac0912268194dca0a394efc4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: dwapb: Drop bogus BUG_ON()s (diff) | |
download | wireguard-linux-c59042ed896592eba6a5f8baa9c12aec7e36db20.tar.xz wireguard-linux-c59042ed896592eba6a5f8baa9c12aec7e36db20.zip |
gpio: dwapb: Drop of_match_ptr() & ACPI_PTR() calls
Since we always have a table of IDs compiled in, there is no use
for of_match_ptr() nor ACPI_PTR() call. Besides that it brings
a warning (depending on configuration):
.../gpio-dwapb.c:638:34: warning: ‘dwapb_of_match’ defined but not used [-Wunused-const-variable=]
638 | static const struct of_device_id dwapb_of_match[] = {
| ^~~~~~~~~~~~~~
Get rid of them for good.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/20200415141534.31240-12-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions