diff options
Diffstat (limited to 'drivers/input/keyboard/spear-keyboard.c')
-rw-r--r-- | drivers/input/keyboard/spear-keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c index 0c8862343e75..3c503dae7b64 100644 --- a/drivers/input/keyboard/spear-keyboard.c +++ b/drivers/input/keyboard/spear-keyboard.c | |||
@@ -146,7 +146,7 @@ static void spear_kbd_close(struct input_dev *dev) | |||
146 | } | 146 | } |
147 | 147 | ||
148 | #ifdef CONFIG_OF | 148 | #ifdef CONFIG_OF |
149 | static int __devinit spear_kbd_parse_dt(struct platform_device *pdev, | 149 | static int spear_kbd_parse_dt(struct platform_device *pdev, |
150 | struct spear_kbd *kbd) | 150 | struct spear_kbd *kbd) |
151 | { | 151 | { |
152 | struct device_node *np = pdev->dev.of_node; | 152 | struct device_node *np = pdev->dev.of_node; |
@@ -181,7 +181,7 @@ static inline int spear_kbd_parse_dt(struct platform_device *pdev, | |||
181 | } | 181 | } |
182 | #endif | 182 | #endif |
183 | 183 | ||
184 | static int __devinit spear_kbd_probe(struct platform_device *pdev) | 184 | static int spear_kbd_probe(struct platform_device *pdev) |
185 | { | 185 | { |
186 | struct kbd_platform_data *pdata = dev_get_platdata(&pdev->dev); | 186 | struct kbd_platform_data *pdata = dev_get_platdata(&pdev->dev); |
187 | const struct matrix_keymap_data *keymap = pdata ? pdata->keymap : NULL; | 187 | const struct matrix_keymap_data *keymap = pdata ? pdata->keymap : NULL; |