projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: use dev_get_platdata()
[linux-2.6-microblaze.git]
/
drivers
/
input
/
keyboard
/
ep93xx_keypad.c
diff --git
a/drivers/input/keyboard/ep93xx_keypad.c
b/drivers/input/keyboard/ep93xx_keypad.c
index
47206bd
..
e598762
100644
(file)
--- a/
drivers/input/keyboard/ep93xx_keypad.c
+++ b/
drivers/input/keyboard/ep93xx_keypad.c
@@
-244,7
+244,7
@@
static int ep93xx_keypad_probe(struct platform_device *pdev)
if (!keypad)
return -ENOMEM;
- keypad->pdata =
pdev->dev.platform_data
;
+ keypad->pdata =
dev_get_platdata(&pdev->dev)
;
if (!keypad->pdata) {
err = -EINVAL;
goto failed_free;