mmc: sunxi: drop of_match_ptr from of_device_id table
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 26 Oct 2020 15:38:10 +0000 (16:38 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Nov 2020 10:59:27 +0000 (11:59 +0100)
commitb733775fb68f2a179dd28e6b41ff189fbcd3e95b
tree1d7d5ed98508ead224f8cb63bc31df7d32876fba
parent1b0e4a2141c7bf6a122f1e04cbc1690b835707cf
mmc: sunxi: drop of_match_ptr from of_device_id table

The driver can match only via DT table so it 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 for sunxi).  This
fixes compile warning:

    drivers/mmc/host/sunxi-mmc.c:1181:34: warning: ‘sunxi_mmc_of_match’ defined but not used [-Wunused-const-variable=]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20201026153810.89512-3-krzk@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c