mmc: sdhci-spear: remove redundant of_match_ptr()
authorZhu Wang <wangzhu9@huawei.com>
Tue, 8 Aug 2023 13:37:13 +0000 (21:37 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Aug 2023 11:28:31 +0000 (13:28 +0200)
commit921700b5ed5587c354a6bf2d23da325a49490253
tree2c0aa60ffd15c17f35b0ebd5cb9b8e72db439dc4
parent92b5b53380955e6ca3c5786c72dbc99dcdfa8e4f
mmc: sdhci-spear: remove redundant of_match_ptr()

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.

Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
Link: https://lore.kernel.org/r/20230808133714.214914-2-wangzhu9@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-spear.c