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

mmc: dw_mmc: 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>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <chris@printf.net>

authored by

Sachin Kamat and committed by
Chris Ball
cf109bc0 6fad5128

+1 -1
+1 -1
drivers/mmc/host/dw_mmc-pltfm.c
··· 123 123 .remove = dw_mci_pltfm_remove, 124 124 .driver = { 125 125 .name = "dw_mmc", 126 - .of_match_table = of_match_ptr(dw_mci_pltfm_match), 126 + .of_match_table = dw_mci_pltfm_match, 127 127 .pm = &dw_mci_pltfm_pmops, 128 128 }, 129 129 };