mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
RTC: Cleanup rtc_class_ops->irq_set_freq()
With the generic rtc code now emulating PIE mode irqs via an hrtimer, no one calls the rtc_class_ops->irq_set_freq call. This patch removes the hook and deletes the driver functions if no one else calls them. CC: Thomas Gleixner <tglx@linutronix.de> CC: Alessandro Zummo <a.zummo@towertech.it> CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br> CC: rtc-linux@googlegroups.com Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
80d4bb515b
commit
696160fec1
9 changed files with 0 additions and 105 deletions
|
@ -133,7 +133,6 @@ extern struct class *rtc_class;
|
|||
* The (current) exceptions are mostly filesystem hooks:
|
||||
* - the proc() hook for procfs
|
||||
* - non-ioctl() chardev hooks: open(), release(), read_callback()
|
||||
* - periodic irq calls: irq_set_state(), irq_set_freq()
|
||||
*
|
||||
* REVISIT those periodic irq calls *do* have ops_lock when they're
|
||||
* issued through ioctl() ...
|
||||
|
@ -148,7 +147,6 @@ struct rtc_class_ops {
|
|||
int (*set_alarm)(struct device *, struct rtc_wkalrm *);
|
||||
int (*proc)(struct device *, struct seq_file *);
|
||||
int (*set_mmss)(struct device *, unsigned long secs);
|
||||
int (*irq_set_freq)(struct device *, int freq);
|
||||
int (*read_callback)(struct device *, int data);
|
||||
int (*alarm_irq_enable)(struct device *, unsigned int enabled);
|
||||
int (*update_irq_enable)(struct device *, unsigned int enabled);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue