Skip to content

rtc-parisc cleanup

dann frazier linux-parisc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Add a missing include for linux/rtc.hdrivers/rtc/rtc-parisc.c+1 -00 replies
2/9Remove redundant lockingdrivers/rtc/rtc-parisc.c+1 -100 replies
3/9remove struct parisc_rtcdrivers/rtc/rtc-parisc.c+7 -120 replies
4/9Use rtc_valid_tm() in parisc_get_timedrivers/rtc/rtc-parisc.c+1 -10 replies
5/9Use platform_driver_probedrivers/rtc/rtc-parisc.c+3 -90 replies
6/9declare rtc_parisc_dev as staticarch/parisc/kernel/time.c+1 -10 replies
7/9remove unnecessary ret variablearch/parisc/kernel/time.c+0 -10 replies
8/9remove a couple unnecessary variablesdrivers/rtc/rtc-parisc.c+0 -30 replies
9/9rename p pointer to rtcdrivers/rtc/rtc-parisc.c+8 -80 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlessandro Zummo
SeriesA-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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/9] rtc-parisc cleanup

I recently submitted an rtc-efi driver having used rtc-parisc as a template. I received several suggestions from Alessandro Zummo and Andrew Morton that also apply to rtc-parisc. This series merges the relevant changes back into the rtc-parisc driver.

dann frazier (9):
Add a missing include for linux/rtc.h
Remove redundant locking
remove struct parisc_rtc
Use rtc_valid_tm() in parisc_get_time
Use platform_driver_probe
declare rtc_parisc_dev as static
remove unnecessary ret variable
remove a couple unnecessary variables
rename p pointer to rtc

 arch/parisc/kernel/time.c |    7 +----
 drivers/rtc/rtc-parisc.c  |   56 ++++++++++++---------------------------------
 2 files changed, 17 insertions(+), 46 deletions(-)