From: Daniel Mack <zonque@gmail.com>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com,
Daniel Mack <daniel@caiaq.de>
Subject: Re: [PATCH 9/9] Input: rotary_encoder - Remove redundant platform_set_drvdata()
Date: Mon, 06 May 2013 12:12:45 +0200 [thread overview]
Message-ID: <5187821D.8020909@gmail.com> (raw)
In-Reply-To: <1367679118-2980-9-git-send-email-sachin.kamat@linaro.org>
On 04.05.2013 16:51, 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 <sachin.kamat@linaro.org>
> Cc: Daniel Mack <daniel@caiaq.de>
Acked-by: Daniel Mack <zonque@gmail.com>
> ---
> drivers/input/misc/rotary_encoder.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c
> index aff47b2..5b1aff8 100644
> --- a/drivers/input/misc/rotary_encoder.c
> +++ b/drivers/input/misc/rotary_encoder.c
> @@ -317,8 +317,6 @@ static int rotary_encoder_remove(struct platform_device *pdev)
> if (!dev_get_platdata(&pdev->dev))
> kfree(pdata);
>
> - platform_set_drvdata(pdev, NULL);
> -
> return 0;
> }
>
>
next prev parent reply other threads:[~2013-05-06 10:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-04 14:51 [PATCH 1/9] Input: ab8500-ponkey - Remove redundant platform_set_drvdata() Sachin Kamat
2013-05-04 14:51 ` [PATCH 2/9] Input: bfin_rotary " Sachin Kamat
2013-05-04 14:51 ` [PATCH 3/9] Input: gpio_tilt_polled " Sachin Kamat
2013-05-04 19:44 ` Heiko Stübner
2013-05-04 14:51 ` [PATCH 4/9] Input: max8925_onkey " Sachin Kamat
2013-05-04 14:51 ` [PATCH 5/9] Input: mc13783-pwrbutton " Sachin Kamat
2013-05-04 14:51 ` [PATCH 6/9] Input: pm8xxx-vibrator " Sachin Kamat
2013-05-04 14:51 ` [PATCH 7/9] Input: pmic8xxx-pwrkey " Sachin Kamat
2013-05-04 14:51 ` [PATCH 8/9] Input: pwm-beeper " Sachin Kamat
2013-05-04 14:51 ` [PATCH 9/9] Input: rotary_encoder " Sachin Kamat
2013-05-06 10:12 ` Daniel Mack [this message]
2013-05-06 3:01 ` [PATCH 1/9] Input: ab8500-ponkey " Dmitry Torokhov
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=5187821D.8020909@gmail.com \
--to=zonque@gmail.com \
--cc=daniel@caiaq.de \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--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 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).