From: Thomas Chou <thomas@wytron.com.tw>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com
Subject: Re: [PATCH 1/3] Input: altera_ps2 - Remove redundant platform_set_drvdata()
Date: Mon, 06 May 2013 09:38:55 +0800 [thread overview]
Message-ID: <518709AF.3040302@wytron.com.tw> (raw)
In-Reply-To: <1367577400-9527-1-git-send-email-sachin.kamat@linaro.org>
Hi Sachin,
On 05/03/2013 06:36 PM, 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: Thomas Chou <thomas@wytron.com.tw>
> ---
> drivers/input/serio/altera_ps2.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
> index 479ce5f..a0a2657 100644
> --- a/drivers/input/serio/altera_ps2.c
> +++ b/drivers/input/serio/altera_ps2.c
> @@ -163,7 +163,6 @@ static int altera_ps2_remove(struct platform_device *pdev)
> {
> struct ps2if *ps2if = platform_get_drvdata(pdev);
>
> - platform_set_drvdata(pdev, NULL);
> serio_unregister_port(ps2if->io);
> free_irq(ps2if->irq, ps2if);
> iounmap(ps2if->base);
>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
Thanks.
- Thomas
prev parent reply other threads:[~2013-05-06 1:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-03 10:36 [PATCH 1/3] Input: altera_ps2 - Remove redundant platform_set_drvdata() Sachin Kamat
2013-05-03 10:36 ` [PATCH 2/3] Input: at32psif " Sachin Kamat
2013-05-03 11:26 ` Hans-Christian Egtvedt
2013-05-03 10:36 ` [PATCH 3/3] Input: q40kbd " Sachin Kamat
2013-05-06 1:38 ` Thomas Chou [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=518709AF.3040302@wytron.com.tw \
--to=thomas@wytron.com.tw \
--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 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.