Skip to content

rtc: tegra: cleanups to remove warning/code lines

Laxman Dewangan linux-tegra lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v25 patches 5 repliesSuperseded
  3. v15 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- define tegra_rtc_pm_ops as static.
- Added Stephen's reviewed by on all patches.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rtc: tegra: protect suspend/resume callbacks with CONFIG_PM_SLEEPdrivers/rtc/rtc-tegra.c+2 -20 replies
2/5rtc: tegra: Use struct dev_pm_ops for power managementdrivers/rtc/rtc-tegra.c+8 -100 replies
3/5rtc: tegra: use module_platform_driver_probe for module init/exitdrivers/rtc/rtc-tegra.c+1 -110 replies
4/5rtc: tegra: set irq name as device namedrivers/rtc/rtc-tegra.c+1 -10 replies
5/5rtc: tegra: use managed rtc_device_registerdrivers/rtc/rtc-tegra.c+4 -230 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchThierry RedingStephen Warren
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

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

Read the v3 thread

Cover letter [PATCH V3 0/5] rtc: tegra: cleanups to remove warning/code lines

This patch series does the cleanups in the rtc driver as follows:
- Protect suspend/resume with CONFIG_PM_SLEEP.
- Use dev_pm_ops in place of legacy way for suspend/resume.
- Properly reflect teh irq name when doing cat /proc/interrupts.
- Use module_platform_probe() to remove boilerplate code.
- use devm_rtc_device_register.

Changes from V1:
- Use SIMPLE_DEV_PM_OPS
- Correctd the acronym case rtc to RTC in description.
- Add Thierry reviewed by on some of patches.

Changes from V2:
- define tegra_rtc_pm_ops as static.
- Added Stephen's reviewed by on all patches.

Laxman Dewangan (5):
rtc: tegra: protect suspend/resume callbacks with CONFIG_PM_SLEEP
rtc: tegra: Use struct dev_pm_ops for power management
rtc: tegra: use module_platform_driver_probe for module init/exit
rtc: tegra: set irq name as device name
rtc: tegra: use managed rtc_device_register

 drivers/rtc/rtc-tegra.c |   61 +++++++++++-----------------------------------
 1 files changed, 15 insertions(+), 46 deletions(-)