alarmtimers: Rework RTC device selection using class interface
authorJohn Stultz <john.stultz@linaro.org>
Fri, 15 Jul 2011 01:35:13 +0000 (18:35 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 10 Aug 2011 21:55:30 +0000 (14:55 -0700)
commit8bc0dafb5cf38a19484dfb16e2c6d29e85820046
treeaf2f0000b9cc95567cc4bab5966ef6fd887c6f1f
parent9082c465a5403f4a98734193e078552991a2e283
alarmtimers: Rework RTC device selection using class interface

This allows cleaner detection of the RTC device being registered, rather
then probing any time someone calls alarmtimer_get_rtcdev.

CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/alarmtimer.c