]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc: use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 7 Feb 2013 01:27:44 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:15 +0000 (16:47 +1100)
commitee7ba5d13b53c074410eb5d20d430784b5bc58f5
tree41bc3a36da0e3be24780463994f1cddd8706a8de
parent7be39bfedea81a338dda1af5c4b823b027296187
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>
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