Skip to content

Commit

Permalink
drivers/rtc/rtc-ds1742.c: remove redundant of_match_ptr() helper
Browse files Browse the repository at this point in the history
'ds1742_rtc_of_match' is always compiled in.  Hence the helper macro is
not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Sachin Kamat authored and torvalds committed Jan 24, 2014
1 parent 24b3447 commit 5516f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-ds1742.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit 5516f09

Please sign in to comment.