aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-m41t80.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-08-22 11:59:07 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-08-22 12:05:21 +0200
commit60d345521143ed73b7acc4d99d3ad1afb2890520 (patch)
tree7f95103366b39e0a5c6051cbb527ec80f976ae64 /drivers/rtc/rtc-m41t80.c
parentrtc: puv3: switch to devm_rtc_allocate_device()/rtc_register_device() (diff)
downloadlinux-dev-60d345521143ed73b7acc4d99d3ad1afb2890520.tar.xz
linux-dev-60d345521143ed73b7acc4d99d3ad1afb2890520.zip
rtc: puv3: make alarms useful
Currently, the driver unregisters the IRQs when the rtc character device is closed. This means that the device needs to stay open to get alarms while the usual use case will open the device, set the alarm and close the device. Move the IRQ requests to puv3_rtc_probe() and use the devm managed versions so we don't need to free them. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-m41t80.c')
0 files changed, 0 insertions, 0 deletions