diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-11-20 17:21:30 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-11-27 08:02:27 +0000 |
commit | cc5b7ebe45f3cecf5571a30125f62709aa494a8a (patch) | |
tree | a2beb28b767d7b1188f00148813da535b6103cbd /drivers/mfd/mcp-core.c | |
parent | 608a4758575df01076e550ceb1a97fa326e19e63 (diff) | |
download | linux-stable-cc5b7ebe45f3cecf5571a30125f62709aa494a8a.tar.gz linux-stable-cc5b7ebe45f3cecf5571a30125f62709aa494a8a.tar.bz2 linux-stable-cc5b7ebe45f3cecf5571a30125f62709aa494a8a.zip |
mfd: sun4i: Drop of_match_ptr from of_device_id table
The driver can match only via the DT table so the table should be always
used and the of_match_ptr does not have any sense (this also allows ACPI
matching via PRP0001, even though it is not relevant here). This fixes
compile warning (!CONFIG_OF on x86_64):
drivers/mfd/sun4i-gpadc.c:79:34: warning: ‘sun4i_gpadc_of_match’ defined but not used [-Wunused-const-variable=]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/mcp-core.c')
0 files changed, 0 insertions, 0 deletions