From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:51210 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190Ab3FFSt0 (ORCPT ); Thu, 6 Jun 2013 14:49:26 -0400 Message-ID: <51B0D9B0.3050306@kernel.org> Date: Thu, 06 Jun 2013 19:49:20 +0100 From: Jonathan Cameron MIME-Version: 1.0 To: Roland Stigge CC: Sachin Kamat , devel@driverdev.osuosl.org, linux-iio@vger.kernel.org, gregkh@linuxfoundation.org, jic23@cam.ac.uk Subject: Re: [PATCH 3/3] staging: iio: lpc32xx_adc: Remove redundant platform_set_drvdata() References: <1370510844-23603-1-git-send-email-sachin.kamat@linaro.org> <1370510844-23603-3-git-send-email-sachin.kamat@linaro.org> <51B0A668.3060905@antcom.de> In-Reply-To: <51B0A668.3060905@antcom.de> Content-Type: text/plain; charset=UTF-8 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 06/06/2013 04:10 PM, Roland Stigge wrote: > On 06/06/2013 11:27 AM, Sachin Kamat wrote: >> Commit 0998d06310 (device-core: Ensure drvdata = NULL when no >> driver is bound) removes the need to set driver data field to >> NULL. >> >> Signed-off-by: Sachin Kamat >> Cc: Roland Stigge > > Tested-by: Roland Stigge > Acked-by: Roland Stigge > All 3 applied to the togreg branch of iio.git Thanks > Thanks! > >> --- >> drivers/staging/iio/adc/lpc32xx_adc.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/drivers/staging/iio/adc/lpc32xx_adc.c b/drivers/staging/iio/adc/lpc32xx_adc.c >> index 2f2f7fd..9a4bb09 100644 >> --- a/drivers/staging/iio/adc/lpc32xx_adc.c >> +++ b/drivers/staging/iio/adc/lpc32xx_adc.c >> @@ -215,7 +215,6 @@ static int lpc32xx_adc_remove(struct platform_device *pdev) >> >> iio_device_unregister(iodev); >> free_irq(irq, info); >> - platform_set_drvdata(pdev, NULL); >> clk_put(info->clk); >> iounmap(info->adc_base); >> iio_device_free(iodev); > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >