rtc: m41t80: update sysfs entries export
authorMylène Josserand <mylene.josserand@free-electrons.com>
Tue, 29 Mar 2016 06:55:58 +0000 (08:55 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 20 May 2016 10:33:51 +0000 (12:33 +0200)
commitef6b3125ca6f4319e760dc27617025b8af58d9d3
treebcc0aeadeed58da447666175f5a79a59c7d3df33
parentfa5691131a87a36ee2d535aa3e8886e4e4f1e9f3
rtc: m41t80: update sysfs entries export

The driver used an old sysfs entry export.
Update it to use the DEVICE_ATTR_XX macro and remove the unnecessary
CONFIG_RTC_INTF_SYSFS macro.

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