From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0203.outbound.protection.outlook.com [207.46.163.203]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8D4C71401A5 for ; Thu, 8 May 2014 09:20:28 +1000 (EST) Message-ID: <1399504804.15726.354.camel@snotra.buserror.net> Subject: Re: [PATCH 1/1] booke/watchdog: refine and clean up the codes From: Scott Wood To: Tang Yuantian Date: Wed, 7 May 2014 18:20:04 -0500 In-Reply-To: <1399433437-19520-1-git-send-email-Yuantian.Tang@freescale.com> References: <1399433437-19520-1-git-send-email-Yuantian.Tang@freescale.com> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2014-05-07 at 11:30 +0800, Tang Yuantian wrote: > From: Tang Yuantian > > Basically, this patch does the following: > 1. Move the codes of parsing boot parameters from setup-common.c > to driver. In this way, code reader can know directly that > there are boot parameters that can change the timeout. > 2. Make boot parameter 'booke_wdt_period' effective. > currently, when driver is loaded, default timeout is always > being used in stead of booke_wdt_period. > 3. Wrap up the watchdog timeout in device struct and clean up > unnecessary codes. > > Signed-off-by: Tang Yuantian > --- > arch/powerpc/kernel/setup-common.c | 27 -------------------- > drivers/watchdog/booke_wdt.c | 51 ++++++++++++++++++++++++-------------- > 2 files changed, 33 insertions(+), 45 deletions(-) Acked-by: Scott Wood ...but it looks like you didn't send this to the WDT maintainer and list. -Scott