]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75dd7369269774953868b99a658fee24f3f5a1c6
tree14df26c7c316a9ddfacd43f3942016b91989a4d5
parent0d85aa35aa95ec93e82072924c46a91990bb459a
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