summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-24 01:01:07 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-05 13:19:07 +0200
commita17ccd1c6a327e5b468358e8352a6af004261473 (patch)
treeba35a70e7909a61d0b075d0e34ede51f9d8b189e /drivers/rtc/class.c
parentrtc: make rtc_does_wakealarm() return boolean (diff)
downloadlinux-a17ccd1c6a327e5b468358e8352a6af004261473.tar.xz
linux-a17ccd1c6a327e5b468358e8352a6af004261473.zip
rtc: switch wakealarm attribute to DEVICE_ATTR_RW
Instead of using older style DEVICE_ATTR for wakealarm attribute let's switch to using DEVICE_ATTR_RW that ensures consistent across the kernel permissions on the attribute. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions