[PATCH -next 0/5] rtc: remove redundant of_match_ptr()

Zhu Wang wangzhu9 at huawei.com
Tue Aug 8 21:52:08 AEST 2023


The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr().

Zhu Wang (5):
  rtc: aspeed: remove redundant of_match_ptr()
  rtc: at91sam9: remove redundant of_match_ptr()
  rtc: nct3018y: remove redundant of_match_ptr()
  rtc: armada38x: remove redundant of_match_ptr()
  rtc: at91rm9200: remove redundant of_match_ptr()

 drivers/rtc/rtc-armada38x.c  | 4 +---
 drivers/rtc/rtc-aspeed.c     | 2 +-
 drivers/rtc/rtc-at91rm9200.c | 2 +-
 drivers/rtc/rtc-at91sam9.c   | 2 +-
 drivers/rtc/rtc-nct3018y.c   | 2 +-
 5 files changed, 5 insertions(+), 7 deletions(-)

-- 
2.17.1



More information about the Linux-aspeed mailing list