mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-04 16:43:40 +01:00
drivers/rtc/rtc-ds1742.c: remove redundant of_match_ptr() helper
'ds1742_rtc_of_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
24b34472e2
commit
5516f09717
1 file changed
+1
-1
@@ -228,7 +228,7 @@ static struct platform_driver ds1742_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "rtc-ds1742",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(ds1742_rtc_of_match),
|
||||
.of_match_table = ds1742_rtc_of_match,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user