rtc: tps6591x: Registering PMU RTC as a wake source
authorvenu byravarasu <vbyravarasu@nvidia.com>
Tue, 2 Aug 2011 09:24:21 +0000 (14:24 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:48:09 +0000 (21:48 -0800)
commit0a499f9f69009973a893923c8b1a51ea5f5e1784
tree086ea8c4e4ea9e8ad21e66acd3961cf58cc39a92
parent77108d0e8fd5f4dcdfce01b1a41ef076f6346095
rtc: tps6591x: Registering PMU RTC as a wake source

Without this registration, "wakealarm" node doesnot
get created under the sysfs path /sys/class/rtc/rtc0.

This is used for setting RTC alarms using sysfs.

bug 846920

Original-Change-Id: I287448354612d526f4b96294fef24f5669949130
Reviewed-on: http://git-master/r/44507
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>

Rebase-Id: Rab6c47661fad4fd823fb8bb2c7aa5b8b210f23a7
drivers/rtc/rtc-tps6591x.c