rtc: m41t80: add wakealarm functionality
authorMylène Josserand <mylene.josserand@free-electrons.com>
Tue, 29 Mar 2016 06:56:04 +0000 (08:56 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 20 May 2016 10:33:51 +0000 (12:33 +0200)
commit3726a21833c9c96255735bddb5dacc8eacbff3ef
tree0e989f2014ee0126a1199e868582a4443ca4f812
parent9c6dfed92c3e86d6f84780625c0595ba56d03986
rtc: m41t80: add wakealarm functionality

To enable the wakealarm, the device must be able to wakeup.
This is done by setting the device wakeup capability to true with
'device_init_wakeup' function.

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-m41t80.c