This patchset updates the m41t80 driver : - update the sysfs entries export to use DEVICE_ATTR_XX - remove some unnecessary macro - replace old i2c functions to smbus ones - use BIT macro - remove some warnings - replace obsolete functions
It adds also some functionalities : - alarm IRQ which was previously removed because it was not working - wakealarm to use the RTC and set an alarm to wakeup the system - Oscillator failure to print an error if it is set Mylène Josserand (8): rtc: m41t80: update sysfs entries export rtc: m41t80: remove proc macro rtc: m41t80: replace i2c functions to smbus ones rtc: m41t80: add the use of 'BIT' macro rtc: m41t80: remove warnings and replace obsolete function rtc: m41t80: add alarm functionality rtc: m41t80: add wakealarm functionality rtc: m41t80: handle oscillator failure bit drivers/rtc/rtc-m41t80.c | 443 +++++++++++++++++++++++++++++++---------------- 1 file changed, 289 insertions(+), 154 deletions(-) -- 2.8.0.rc3