diff options
Diffstat (limited to 'drivers/input/keyboard/omap4-keypad.c')
| -rw-r--r-- | drivers/input/keyboard/omap4-keypad.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index c05f98c41410..e25b022692cd 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c | |||
| @@ -211,8 +211,8 @@ static void omap4_keypad_close(struct input_dev *input) | |||
| 211 | } | 211 | } |
| 212 | 212 | ||
| 213 | #ifdef CONFIG_OF | 213 | #ifdef CONFIG_OF |
| 214 | static int __devinit omap4_keypad_parse_dt(struct device *dev, | 214 | static int omap4_keypad_parse_dt(struct device *dev, |
| 215 | struct omap4_keypad *keypad_data) | 215 | struct omap4_keypad *keypad_data) |
| 216 | { | 216 | { |
| 217 | struct device_node *np = dev->of_node; | 217 | struct device_node *np = dev->of_node; |
| 218 | 218 | ||
| @@ -241,7 +241,7 @@ static inline int omap4_keypad_parse_dt(struct device *dev, | |||
| 241 | } | 241 | } |
| 242 | #endif | 242 | #endif |
| 243 | 243 | ||
| 244 | static int __devinit omap4_keypad_probe(struct platform_device *pdev) | 244 | static int omap4_keypad_probe(struct platform_device *pdev) |
| 245 | { | 245 | { |
| 246 | const struct omap4_keypad_platform_data *pdata = | 246 | const struct omap4_keypad_platform_data *pdata = |
| 247 | dev_get_platdata(&pdev->dev); | 247 | dev_get_platdata(&pdev->dev); |
| @@ -406,7 +406,7 @@ err_free_keypad: | |||
| 406 | return error; | 406 | return error; |
| 407 | } | 407 | } |
| 408 | 408 | ||
| 409 | static int __devexit omap4_keypad_remove(struct platform_device *pdev) | 409 | static int omap4_keypad_remove(struct platform_device *pdev) |
| 410 | { | 410 | { |
| 411 | struct omap4_keypad *keypad_data = platform_get_drvdata(pdev); | 411 | struct omap4_keypad *keypad_data = platform_get_drvdata(pdev); |
| 412 | struct resource *res; | 412 | struct resource *res; |
| @@ -440,7 +440,7 @@ MODULE_DEVICE_TABLE(of, omap_keypad_dt_match); | |||
| 440 | 440 | ||
| 441 | static struct platform_driver omap4_keypad_driver = { | 441 | static struct platform_driver omap4_keypad_driver = { |
| 442 | .probe = omap4_keypad_probe, | 442 | .probe = omap4_keypad_probe, |
| 443 | .remove = __devexit_p(omap4_keypad_remove), | 443 | .remove = omap4_keypad_remove, |
| 444 | .driver = { | 444 | .driver = { |
| 445 | .name = "omap4-keypad", | 445 | .name = "omap4-keypad", |
| 446 | .owner = THIS_MODULE, | 446 | .owner = THIS_MODULE, |
