* [PATCH] iio: adc: viperboard: Drop platform_set_drvdata call
@ 2014-02-01 14:52 Johannes Thumshirn
2014-02-03 19:28 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Thumshirn @ 2014-02-01 14:52 UTC (permalink / raw)
To: Jonathan Cameron, Sachin Kamat, Peter Meerwald
Cc: Johannes Thumshirn, linux-iio, linux-kernel
Drop call to platform_set_drvdata as driver data is not used anywhere in the
driver
Signed-off-by: Johannes Thumshirn <morbidrsa@gmail.com>
---
drivers/iio/adc/viperboard_adc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/iio/adc/viperboard_adc.c b/drivers/iio/adc/viperboard_adc.c
index d0add8f..9acf6b6 100644
--- a/drivers/iio/adc/viperboard_adc.c
+++ b/drivers/iio/adc/viperboard_adc.c
@@ -139,8 +139,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev)
return ret;
}
- platform_set_drvdata(pdev, indio_dev);
-
return 0;
}
--
1.8.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: adc: viperboard: Drop platform_set_drvdata call
2014-02-01 14:52 [PATCH] iio: adc: viperboard: Drop platform_set_drvdata call Johannes Thumshirn
@ 2014-02-03 19:28 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2014-02-03 19:28 UTC (permalink / raw)
To: Johannes Thumshirn, Sachin Kamat, Peter Meerwald; +Cc: linux-iio, linux-kernel
On 01/02/14 14:52, Johannes Thumshirn wrote:
> Drop call to platform_set_drvdata as driver data is not used anywhere in the
> driver
>
> Signed-off-by: Johannes Thumshirn <morbidrsa@gmail.com>
Applied to the togreg branch of iio.git
Thanks,
> ---
> drivers/iio/adc/viperboard_adc.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/iio/adc/viperboard_adc.c b/drivers/iio/adc/viperboard_adc.c
> index d0add8f..9acf6b6 100644
> --- a/drivers/iio/adc/viperboard_adc.c
> +++ b/drivers/iio/adc/viperboard_adc.c
> @@ -139,8 +139,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev)
> return ret;
> }
>
> - platform_set_drvdata(pdev, indio_dev);
> -
> return 0;
> }
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-03 19:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-01 14:52 [PATCH] iio: adc: viperboard: Drop platform_set_drvdata call Johannes Thumshirn
2014-02-03 19:28 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).