commit | 6c396bf077dd0debb8cb729410cf8baf4fec0a56 | [log] [tgz] |
---|---|---|
author | Mao Jinlong <c_jmao@codeaurora.org> | Fri Mar 27 15:33:17 2015 +0800 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sat Nov 18 11:08:39 2017 +0100 |
tree | 0e4ebbda08c078bdc4a4fb700b7a77451b9317a6 | |
parent | 4b7f23b05af9f855856b773e2630885c6dd23c64 [diff] |
alarmtimer: add verification for rtc dev in power_on_alarm_init Call alarmtimer_get_rtcdev() to get rtcdev instead of using the global variable rtcdev to avoid the potential risk that rtcdev is not initialized before using it. Change-Id: Id186db22849b3667b553f34236a694f9ec6725a7 Signed-off-by: Mao Jinlong <c_jmao@codeaurora.org>