Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: sdhci-dove: Remove redundant of_match_ptr

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>

authored by

Sachin Kamat and committed by
Chris Ball
5941fd07 cf109bc0

+1 -1
+1 -1
drivers/mmc/host/sdhci-dove.c
··· 208 208 .name = "sdhci-dove", 209 209 .owner = THIS_MODULE, 210 210 .pm = SDHCI_PLTFM_PMOPS, 211 - .of_match_table = of_match_ptr(sdhci_dove_of_match_table), 211 + .of_match_table = sdhci_dove_of_match_table, 212 212 }, 213 213 .probe = sdhci_dove_probe, 214 214 .remove = sdhci_dove_remove,