alarm: Use system rtc for alarms
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>
Wed, 3 Feb 2016 09:26:43 +0000 (14:26 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 16 Feb 2016 06:51:47 +0000 (22:51 -0800)
commit60063a36096ba97a8cefc3607b57fe774df29ea6
tree726daf59f9adc097bbfa27444ed24dc26eb8fba2
parent27aa98e0f7f806392a3c729525cbada25c066294
alarm: Use system rtc for alarms

Alarm uses first registered rtc device for setting alarm
as of now. Changed this to use system rtc so time and
alarm are in sync

Bug 1698877

Change-Id: I60b249d871b758fb3afeeab960e79e94838264e5
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/1002254
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
kernel/time/alarmtimer.c