linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-input@vger.kernel.org
Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org,
	Wan ZongShun <mcuos.com@gmail.com>
Subject: [PATCH 20/20] Input: w90p910_keypad - Remove redundant platform_set_drvdata()
Date: Mon,  6 May 2013 09:54:00 +0530	[thread overview]
Message-ID: <1367814240-8959-20-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1367814240-8959-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: Wan ZongShun <mcuos.com@gmail.com>
---
 drivers/input/keyboard/w90p910_keypad.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/input/keyboard/w90p910_keypad.c b/drivers/input/keyboard/w90p910_keypad.c
index ee163be..72e6a56 100644
--- a/drivers/input/keyboard/w90p910_keypad.c
+++ b/drivers/input/keyboard/w90p910_keypad.c
@@ -249,7 +249,6 @@ static int w90p910_keypad_remove(struct platform_device *pdev)
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	release_mem_region(res->start, resource_size(res));
 
-	platform_set_drvdata(pdev, NULL);
 	kfree(keypad);
 
 	return 0;
-- 
1.7.9.5


      parent reply	other threads:[~2013-05-06  4:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-06  4:23 [PATCH 01/20] Input: amikbd - Remove redundant platform_set_drvdata() Sachin Kamat
2013-05-06  4:23 ` [PATCH 02/20] Input: bf54x-keys " Sachin Kamat
2013-05-06  4:23 ` [PATCH 03/20] Input: davinci_keyscan " Sachin Kamat
2013-05-06  4:23 ` [PATCH 04/20] Input: ep93xx_keypad " Sachin Kamat
2013-05-06 16:45   ` H Hartley Sweeten
2013-05-06  4:23 ` [PATCH 05/20] Input: gpio_keys " Sachin Kamat
2013-05-06  4:23 ` [PATCH 06/20] Input: gpio_keys_polled " Sachin Kamat
2013-05-06  4:23 ` [PATCH 07/20] Input: jornada680_kbd " Sachin Kamat
2013-05-06  4:23 ` [PATCH 08/20] Input: jornada720_kbd " Sachin Kamat
2013-05-06  4:23 ` [PATCH 09/20] Input: matrix_keypad " Sachin Kamat
2013-05-06 12:08   ` Marek Vasut
2013-05-06  4:23 ` [PATCH 10/20] Input: omap4-keypad " Sachin Kamat
2013-05-06  4:23 ` [PATCH 11/20] Input: opencores-kbd " Sachin Kamat
2013-05-06  4:23 ` [PATCH 12/20] Input: pmic8xxx-keypad " Sachin Kamat
2013-05-06  4:23 ` [PATCH 13/20] Input: pxa27x_keypad " Sachin Kamat
2013-05-06  4:23 ` [PATCH 14/20] Input: pxa930_rotary " Sachin Kamat
2013-05-06  4:23 ` [PATCH 15/20] Input: samsung-keypad " Sachin Kamat
2013-05-06  4:23 ` [PATCH 16/20] Input: sh_keysc " Sachin Kamat
2013-05-06  4:23 ` [PATCH 17/20] Input: spear-keyboard " Sachin Kamat
2013-05-13  4:04   ` Viresh Kumar
2013-05-06  4:23 ` [PATCH 18/20] Input: tnetv107x-keypad " Sachin Kamat
2013-05-06  4:23 ` [PATCH 19/20] Input: twl4030_keypad " Sachin Kamat
2013-05-06  4:24 ` Sachin Kamat [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=1367814240-8959-20-git-send-email-sachin.kamat@linaro.org \
    --to=sachin.kamat@linaro.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=mcuos.com@gmail.com \
    /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).