From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-input@vger.kernel.org
Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org,
Michael Hennerich <hennerich@blackfin.uclinux.org>
Subject: [PATCH 2/9] Input: bfin_rotary - Remove redundant platform_set_drvdata()
Date: Sat, 4 May 2013 20:21:51 +0530 [thread overview]
Message-ID: <1367679118-2980-2-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1367679118-2980-1-git-send-email-sachin.kamat@linaro.org>
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: Michael Hennerich <hennerich@blackfin.uclinux.org>
---
drivers/input/misc/bfin_rotary.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/input/misc/bfin_rotary.c b/drivers/input/misc/bfin_rotary.c
index a6666e1..cd139cb 100644
--- a/drivers/input/misc/bfin_rotary.c
+++ b/drivers/input/misc/bfin_rotary.c
@@ -208,7 +208,6 @@ static int bfin_rotary_remove(struct platform_device *pdev)
peripheral_free_list(per_cnt);
kfree(rotary);
- platform_set_drvdata(pdev, NULL);
return 0;
}
--
1.7.4.1
next prev parent reply other threads:[~2013-05-04 14:52 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 ` Sachin Kamat [this message]
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
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=1367679118-2980-2-git-send-email-sachin.kamat@linaro.org \
--to=sachin.kamat@linaro.org \
--cc=dmitry.torokhov@gmail.com \
--cc=hennerich@blackfin.uclinux.org \
--cc=linux-input@vger.kernel.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).