summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-25 09:07:09 -0400
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-26 09:08:53 -0400
commit8719d3c9188b38db462a77ecd8c7a8e25e7e8c4c (patch)
tree058a9ced72bc0bdebb4cd224a02e2646c0c089c2 /drivers/rtc/interface.c
parentacecb3ad8b21a519ce4ad728106d45d4e978bb56 (diff)
rtc: simplify rtc_irq_set_state/rtc_irq_set_freq
The PIE doesn't handle tasks anymore, remove the pointer from the interface. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/interface.c')
-rw-r--r--drivers/rtc/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index ae0d67610c7b..76eb3a2957cc 100644
--- a/drivers/rtc/interface.c
+++ b/drivers/rtc/interface.c
@@ -746,7 +746,7 @@ static int rtc_update_hrtimer(struct rtc_device *rtc, int enabled)
746 * Note that rtc_irq_set_freq() should previously have been used to 746 * Note that rtc_irq_set_freq() should previously have been used to
747 * specify the desired frequency of periodic IRQ. 747 * specify the desired frequency of periodic IRQ.
748 */ 748 */
749int rtc_irq_set_state(struct rtc_device *rtc, struct rtc_task *task, int enabled) 749int rtc_irq_set_state(struct rtc_device *rtc, int enabled)
750{ 750{
751 int err = 0; 751 int err = 0;
752 752
@@ -770,7 +770,7 @@ EXPORT_SYMBOL_GPL(rtc_irq_set_state);
770 * Note that rtc_irq_set_state() is used to enable or disable the 770 * Note that rtc_irq_set_state() is used to enable or disable the
771 * periodic IRQs. 771 * periodic IRQs.
772 */ 772 */
773int rtc_irq_set_freq(struct rtc_device *rtc, struct rtc_task *task, int freq) 773int rtc_irq_set_freq(struct rtc_device *rtc, int freq)
774{ 774{
775 int err = 0; 775 int err = 0;
776 776