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>
This commit is contained in:
@@ -202,10 +202,8 @@ extern void rtc_update_irq(struct rtc_device *rtc,
|
||||
extern struct rtc_device *rtc_class_open(const char *name);
|
||||
extern void rtc_class_close(struct rtc_device *rtc);
|
||||
|
||||
extern int rtc_irq_set_state(struct rtc_device *rtc,
|
||||
struct rtc_task *task, int enabled);
|
||||
extern int rtc_irq_set_freq(struct rtc_device *rtc,
|
||||
struct rtc_task *task, int freq);
|
||||
extern int rtc_irq_set_state(struct rtc_device *rtc, int enabled);
|
||||
extern int rtc_irq_set_freq(struct rtc_device *rtc, int freq);
|
||||
extern int rtc_update_irq_enable(struct rtc_device *rtc, unsigned int enabled);
|
||||
extern int rtc_alarm_irq_enable(struct rtc_device *rtc, unsigned int enabled);
|
||||
extern int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc,
|
||||
|
Reference in New Issue
Block a user