From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753014Ab3EZNNa (ORCPT ); Sun, 26 May 2013 09:13:30 -0400 Received: from ns1.pc-advies.be ([83.149.101.17]:48014 "EHLO spo001.leaseweb.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751939Ab3EZNN3 (ORCPT ); Sun, 26 May 2013 09:13:29 -0400 Date: Sun, 26 May 2013 15:13:28 +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 5/5] watchdog: wm831x: use platform_{get,set}_drvdata() Message-ID: <20130526131328.GA6387@spo001.leaseweb.com> References: <003801ce57a2$8f0dae40$ad290ac0$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003801ce57a2$8f0dae40$ad290ac0$@samsung.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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/wm831x_wdt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Patch added to linux-watchdog-next. Kind regards, Wim.