From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaro Koskinen Subject: [RESEND PATCH v3 0/6] watchdog: omap_wdt: convert to new watchdog core Date: Mon, 12 Nov 2012 20:46:59 +0200 Message-ID: <1352746025-1669-1-git-send-email-aaro.koskinen@iki.fi> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: wim@iguana.be, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Cc: Aaro Koskinen List-Id: linux-omap@vger.kernel.org Hello, This is a third version of the patch to convert omap_wdt to new watchdog core. On OMAP boards, there are usually multiple watchdogs. Since the new watchdog core supports multiple watchdogs, all watchdog drivers used on OMAP should be converted. This is especially important on devices like Nokia N9 or N800 where multiple watchdogs are present and watchdog HW cannot be disabled on devices available to consumers/hobbyists. I have also done additional cleanups to utilize devres. They are separate patches to make reviewing easier. Please review and consider applying/queueing these patches, perhaps maybe for 3.8. Thanks. Tested on top of 3.7-rc5 on Nokia N950. Patch set history: v3 (https://lkml.org/lkml/2012/10/10/402): Patch 1 rebased on top of current mainline. Added received Tested by -tags. Added patches 2..6. v2 (https://lkml.org/lkml/2012/9/8/134): Fix a bug in the first version of the patch: __omap_wdt_disable() in probe was mistakenly moved outside PM runtime calls. This caused a crash as device was probably accessed with some clocks off. Thanks to Jarkko Nikula for reporting this. v1 (https://lkml.org/lkml/2012/9/4/217): The initial version. Aaro Koskinen (6): watchdog: omap_wdt: convert to new watchdog core watchdog: omap_wdt: convert kzalloc() to devm_kzalloc() watchdog: omap_wdt: convert request_mem_region() to devm_request_mem_region() watchdog: omap_wdt: convert ioremap() to devm_ioremap() watchdog: omap_wdt: delete redundant platform_set_drvdata() calls watchdog: omap_wdt: eliminate goto drivers/watchdog/Kconfig | 1 + drivers/watchdog/omap_wdt.c | 329 +++++++++++++++++-------------------------- 2 files changed, 131 insertions(+), 199 deletions(-) -- 1.7.2.5