mbox series

[-next,0/2] mmc: host: remove redundant of_match_ptr()

Message ID 20230808133714.214914-1-wangzhu9@huawei.com
Headers show
Series mmc: host: remove redundant of_match_ptr() | expand

Message

Zhu Wang Aug. 8, 2023, 1:37 p.m. UTC
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(-)

Comments

Ulf Hansson Aug. 9, 2023, 11:34 a.m. UTC | #1
On Tue, 8 Aug 2023 at 15:38, Zhu Wang <wangzhu9@huawei.com> wrote:
>
> 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(-)
>

Applied for next, thanks!

Kind regards
Uffe