From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-input@vger.kernel.org
Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org,
Lars-Peter Clausen <lars@metafoo.de>
Subject: [PATCH 8/9] Input: pwm-beeper - Remove redundant platform_set_drvdata()
Date: Sat, 4 May 2013 20:21:57 +0530 [thread overview]
Message-ID: <1367679118-2980-8-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: Lars-Peter Clausen <lars@metafoo.de>
---
drivers/input/misc/pwm-beeper.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/input/misc/pwm-beeper.c b/drivers/input/misc/pwm-beeper.c
index 0808868..a37f0c9 100644
--- a/drivers/input/misc/pwm-beeper.c
+++ b/drivers/input/misc/pwm-beeper.c
@@ -133,7 +133,6 @@ static int pwm_beeper_remove(struct platform_device *pdev)
{
struct pwm_beeper *beeper = platform_get_drvdata(pdev);
- platform_set_drvdata(pdev, NULL);
input_unregister_device(beeper->input);
pwm_disable(beeper->pwm);
--
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 ` [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 ` Sachin Kamat [this message]
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-8-git-send-email-sachin.kamat@linaro.org \
--to=sachin.kamat@linaro.org \
--cc=dmitry.torokhov@gmail.com \
--cc=lars@metafoo.de \
--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).