From: Jonathan Cameron <jic23@kernel.org>
To: Johannes Thumshirn <morbidrsa@gmail.com>,
Sachin Kamat <sachin.kamat@linaro.org>,
Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: adc: viperboard: Drop platform_set_drvdata call
Date: Mon, 03 Feb 2014 19:28:23 +0000 [thread overview]
Message-ID: <52EFEDD7.7030300@kernel.org> (raw)
In-Reply-To: <1391266364-14383-1-git-send-email-morbidrsa@gmail.com>
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;
> }
>
>
prev parent reply other threads:[~2014-02-03 19:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-01 14:52 [PATCH] iio: adc: viperboard: Drop platform_set_drvdata call Johannes Thumshirn
2014-02-03 19:28 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52EFEDD7.7030300@kernel.org \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=morbidrsa@gmail.com \
--cc=pmeerw@pmeerw.net \
--cc=sachin.kamat@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.