Skip to content

rtc: cleanup task handling

Alexandre Belloni linux-rtc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8rtc: sa1100: don't set PIE frequencydrivers/rtc/rtc-sa1100.c+0 -10 replies
2/8rtc: sh: remove dead codedrivers/rtc/rtc-sh.c+1 -880 replies
3/8rtc: remove rtc_irq_register/rtc_irq_unregisterdrivers/rtc/interface.c include/linux/rtc.h+0 -370 replies
4/8rtc: remove irq_task and irq_task_lockdrivers/rtc/class.c drivers/rtc/interface.c include/linux/rtc.h+10 -430 replies
5/8rtc: simplify rtc_irq_set_state/rtc_irq_set_freqdrivers/rtc/interface.c drivers/rtc/rtc-dev.c include/linux/rtc.h+8 -100 replies
6/8rtc: unexport rtc_irq_set_*drivers/rtc/interface.c+0 -20 replies
7/8char: rtc: remove task handlingdrivers/char/rtc.c+0 -131 reply
8/8rtc: remove struct rtc_taskdrivers/rtc/interface.c include/linux/rtc.h+6 -111 reply

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/8
2/8
3/8
4/8
5/8
6/8
7/8A-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] rtc: cleanup task handling

Hi,

This series drops the now unused periodic task handling. It has been used in total by 3 drivers that were dropped and mainly replaced by kernel timers.

This allows to also remove a few rtc_device struct members and struct rtc_task.

Tested using rtcpie and rtctest.

Alexandre Belloni (8):
rtc: sa1100: don't set PIE frequency
rtc: sh: remove dead code
rtc: remove rtc_irq_register/rtc_irq_unregister
rtc: remove irq_task and irq_task_lock
rtc: simplify rtc_irq_set_state/rtc_irq_set_freq
rtc: unexport rtc_irq_set_*
char: rtc: remove task handling
rtc: remove struct rtc_task

 drivers/char/rtc.c       | 13 ------
 drivers/rtc/class.c      |  1 -
 drivers/rtc/interface.c  | 97 +++++++---------------------------------
 drivers/rtc/rtc-dev.c    |  8 ++--
 drivers/rtc/rtc-sa1100.c |  1 -
 drivers/rtc/rtc-sh.c     | 89 +-----------------------------------
 include/linux/rtc.h      | 21 ++-------
 7 files changed, 25 insertions(+), 205 deletions(-)
Signature · 1 line
2.18.0