aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorGravatar Alexandre Belloni <alexandre.belloni@free-electrons.com> 2017-08-23 01:48:35 +0200
committerGravatar Alexandre Belloni <alexandre.belloni@free-electrons.com> 2017-08-24 11:03:35 +0200
commit512053a43d95d4da65565fc74c63906083d419bb (patch)
treea88cd29f97f213320db86c77b5d6a0f4f2ce738a /crypto
parentrtc: sa1100: fix unbalanced clk_prepare_enable/clk_disable_unprepare (diff)
downloadlinux-512053a43d95d4da65565fc74c63906083d419bb.tar.gz
linux-512053a43d95d4da65565fc74c63906083d419bb.tar.bz2
linux-512053a43d95d4da65565fc74c63906083d419bb.zip
rtc: sa1100: 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 sa1100_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 'crypto')
0 files changed, 0 insertions, 0 deletions