Return-path: Received: from ns1.pc-advies.be ([83.149.101.17]:48024 "EHLO spo001.leaseweb.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752843Ab3EZN33 (ORCPT ); Sun, 26 May 2013 09:29:29 -0400 Date: Sun, 26 May 2013 15:29:27 +0200 From: Wim Van Sebroeck To: Jingoo Han Cc: 'Andrew Morton' , linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, 'Guenter Roeck' Subject: Re: [PATCH 1/5] watchdog: cpwd: use platform_{get,set}_drvdata() Message-ID: <20130526132927.GA6787@spo001.leaseweb.com> References: <003401ce57a2$658fbb80$30af3280$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003401ce57a2$658fbb80$30af3280$@samsung.com> Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org Hi Jingoo, > Use the wrapper functions for getting and setting the driver data using > platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, > so we can directly pass a struct platform_device. > > Signed-off-by: Jingoo Han > --- > drivers/watchdog/cpwd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Patch added to linux-watchdog-next. Kind regards, Wim.