[PATCH V2 0/5] rtc: tegra: cleanups to remove warning/code lines
From: Laxman Dewangan
Date: Mon Mar 11 2013 - 04:48:47 EST
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.
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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/