The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove both CONFIG_OF and of_match_ptr() here. Zhu Wang (2): mmc: sdhci-spear: remove redundant of_match_ptr() mmc: sdhci: milbeaut: remove redundant of_match_ptr() drivers/mmc/host/sdhci-milbeaut.c | 2 +- drivers/mmc/host/sdhci-spear.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) -- 2.17.1