OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ace98d
)
Input: ab8500-ponkey - drop unnecessary call to platform_set_drvdata
author
Guenter Roeck
<linux@roeck-us.net>
Wed, 18 Jan 2017 19:44:55 +0000
(11:44 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 18 Jan 2017 19:49:19 +0000
(11:49 -0800)
There is no call to platform_get_drvdata() or dev_get_drvdata().
Drop the unnecessary call to platform_set_drvdata().
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/ab8500-ponkey.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/ab8500-ponkey.c
b/drivers/input/misc/ab8500-ponkey.c
index
4f5ef5b
..
a33ed57
100644
(file)
--- a/
drivers/input/misc/ab8500-ponkey.c
+++ b/
drivers/input/misc/ab8500-ponkey.c
@@
-109,7
+109,6
@@
static int ab8500_ponkey_probe(struct platform_device *pdev)
return error;
}
- platform_set_drvdata(pdev, ponkey);
return 0;
}