drivers/rtc/rtc-s3c: use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 18 Dec 2012 00:02:52 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:21 +0000 (17:15 -0800)
commit04a373fdc9b0cbb4f076dd0e6c6433dc3bc48724
tree14df26c7c316a9ddfacd43f3942016b91989a4d5
parent18c701a9dbe91768e1629f1aece9d50543b3abfa
drivers/rtc/rtc-s3c: use of_match_ptr() macro

This eliminates having an #ifdef returning NULL for the case when OF is
disabled.

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>
drivers/rtc/rtc-s3c.c