drivers/rtc: use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 22 Feb 2013 00:44:28 +0000 (16:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:27 +0000 (17:22 -0800)
commitc8a6046e1e0bb03406e4fc6c0a204ef58a1868e4
treec041260ad34e5b5924c6bc5b09e9042e6df77574
parentf32bc70d5f938cfef3e534c9db6d38a3759eac6d
drivers/rtc: use of_match_ptr() macro

This eliminates having an #ifdef returning NULL for the case when OF is
disabled.  Maintains consistency in cases where OF is always selected.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-cmos.c
drivers/rtc/rtc-mpc5121.c
drivers/rtc/rtc-sa1100.c
drivers/rtc/rtc-snvs.c
drivers/rtc/rtc-stmp3xxx.c
drivers/rtc/rtc-twl.c