From: Laxman Dewangan Subject: [PATCH 0/5] rtc: tegra: cleanups to remove warning/code lines Date: Sat, 9 Mar 2013 23:39:44 +0530 Message-ID: <1362852588-13362-1-git-send-email-ldewangan@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-kernel-owner@vger.kernel.org To: akpm@linux-foundation.org, a.zummo@towertech.it Cc: swarren@wwwdotorg.org, rtc-linux@googlegroups.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Laxman Dewangan List-Id: linux-tegra@vger.kernel.org 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. 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 | 62 ++++++++++++---------------------------------- 1 files changed, 16 insertions(+), 46 deletions(-)