aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-aspeed.c
diff options
context:
space:
mode:
authorZhu Wang <wangzhu9@huawei.com>2023-08-08 19:52:09 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2023-08-10 09:45:41 +0200
commit4f3688dca15053555ade31a785a9c75837a64fb8 (patch)
tree359f1605678a1421fd1f3b4e11df8f946d0644f1 /drivers/rtc/rtc-aspeed.c
parentdf9c16b5ccc8e4aab5e492b5f110167c75c74b0a (diff)
downloadlinux-4f3688dca15053555ade31a785a9c75837a64fb8.tar.gz
rtc: remove redundant of_match_ptr()
Diffstat (limited to 'drivers/rtc/rtc-aspeed.c')
-rw-r--r--drivers/rtc/rtc-aspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-aspeed.c b/drivers/rtc/rtc-aspeed.c
index a93352ed3aec9..880b015eebaf7 100644
--- a/drivers/rtc/rtc-aspeed.c
+++ b/drivers/rtc/rtc-aspeed.c
@@ -118,7 +118,7 @@ MODULE_DEVICE_TABLE(of, aspeed_rtc_match);
static struct platform_driver aspeed_rtc_driver = {
.driver = {
.name = "aspeed-rtc",
- .of_match_table = of_match_ptr(aspeed_rtc_match),
+ .of_match_table = aspeed_rtc_match,
},
};