aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-nct3018y.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-nct3018y.c
parentdf9c16b5ccc8e4aab5e492b5f110167c75c74b0a (diff)
downloadlinux-4f3688dca15053555ade31a785a9c75837a64fb8.tar.gz
rtc: remove redundant of_match_ptr()
Diffstat (limited to 'drivers/rtc/rtc-nct3018y.c')
-rw-r--r--drivers/rtc/rtc-nct3018y.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-nct3018y.c b/drivers/rtc/rtc-nct3018y.c
index a4e3f924837e0..ed4e606be8e58 100644
--- a/drivers/rtc/rtc-nct3018y.c
+++ b/drivers/rtc/rtc-nct3018y.c
@@ -538,7 +538,7 @@ MODULE_DEVICE_TABLE(of, nct3018y_of_match);
static struct i2c_driver nct3018y_driver = {
.driver = {
.name = "rtc-nct3018y",
- .of_match_table = of_match_ptr(nct3018y_of_match),
+ .of_match_table = nct3018y_of_match,
},
.probe = nct3018y_probe,
.id_table = nct3018y_id,