diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-24 00:38:25 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-11-24 03:05:19 -0500 |
commit | 5298cc4cc753bbe4c530b41341834f6ef3344d0d (patch) | |
tree | 5dde0337622144b635a7dc199844ed5376794b09 /drivers/input/keyboard/pmic8xxx-keypad.c | |
parent | 78f50c246f4286d40a1f42fecc779d47e40503a2 (diff) |
Input: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/pmic8xxx-keypad.c')
-rw-r--r-- | drivers/input/keyboard/pmic8xxx-keypad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c index d3623c5a3eea..fa177aba5dbe 100644 --- a/drivers/input/keyboard/pmic8xxx-keypad.c +++ b/drivers/input/keyboard/pmic8xxx-keypad.c | |||
@@ -397,7 +397,7 @@ static irqreturn_t pmic8xxx_kp_irq(int irq, void *data) | |||
397 | return IRQ_HANDLED; | 397 | return IRQ_HANDLED; |
398 | } | 398 | } |
399 | 399 | ||
400 | static int __devinit pmic8xxx_kpd_init(struct pmic8xxx_kp *kp) | 400 | static int pmic8xxx_kpd_init(struct pmic8xxx_kp *kp) |
401 | { | 401 | { |
402 | int bits, rc, cycles; | 402 | int bits, rc, cycles; |
403 | u8 scan_val = 0, ctrl_val = 0; | 403 | u8 scan_val = 0, ctrl_val = 0; |
@@ -447,7 +447,7 @@ static int __devinit pmic8xxx_kpd_init(struct pmic8xxx_kp *kp) | |||
447 | 447 | ||
448 | } | 448 | } |
449 | 449 | ||
450 | static int __devinit pmic8xxx_kp_config_gpio(int gpio_start, int num_gpios, | 450 | static int pmic8xxx_kp_config_gpio(int gpio_start, int num_gpios, |
451 | struct pmic8xxx_kp *kp, struct pm_gpio *gpio_config) | 451 | struct pmic8xxx_kp *kp, struct pm_gpio *gpio_config) |
452 | { | 452 | { |
453 | int rc, i; | 453 | int rc, i; |
@@ -518,7 +518,7 @@ static void pmic8xxx_kp_close(struct input_dev *dev) | |||
518 | * - set irq edge type. | 518 | * - set irq edge type. |
519 | * - enable the keypad controller. | 519 | * - enable the keypad controller. |
520 | */ | 520 | */ |
521 | static int __devinit pmic8xxx_kp_probe(struct platform_device *pdev) | 521 | static int pmic8xxx_kp_probe(struct platform_device *pdev) |
522 | { | 522 | { |
523 | const struct pm8xxx_keypad_platform_data *pdata = | 523 | const struct pm8xxx_keypad_platform_data *pdata = |
524 | dev_get_platdata(&pdev->dev); | 524 | dev_get_platdata(&pdev->dev); |