rtc: m48t86: add NVRAM support
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 10 Feb 2017 18:11:57 +0000 (11:11 -0700)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 12 Feb 2017 00:08:01 +0000 (01:08 +0100)
commitb180cf8b0bce3e0e1eb9c5d78bfc9ef2559a0b22
treedbaa0128da3c7e3075e5b9f5d34c1028fc720d74
parent8057c86d43a6579421c97b00c6df1ab0bc5e51a0
rtc: m48t86: add NVRAM support

This RTC has 114 bytes of NVRAM. Provide access to it via a binary
sysfs 'nvram' attribute file.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-m48t86.c