diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:23:21 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 18:57:24 -0500 |
commit | 44f34fd4a7f80439f14bdd2df032b0b4427c4ab0 (patch) | |
tree | 8f7998a0ed0555efb39c7d70ed783cbd90337a20 | |
parent | 93ed0327808f7d7ef0fc90114c3457629dd683c1 (diff) |
extcon: 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>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/extcon/extcon-adc-jack.c | 2 | ||||
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 2 | ||||
-rw-r--r-- | drivers/extcon/extcon-gpio.c | 2 | ||||
-rw-r--r-- | drivers/extcon/extcon-max77693.c | 2 | ||||
-rw-r--r-- | drivers/extcon/extcon-max8997.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon-adc-jack.c index b88ae918a262..84144e6708c7 100644 --- a/drivers/extcon/extcon-adc-jack.c +++ b/drivers/extcon/extcon-adc-jack.c | |||
@@ -91,7 +91,7 @@ static irqreturn_t adc_jack_irq_thread(int irq, void *_data) | |||
91 | return IRQ_HANDLED; | 91 | return IRQ_HANDLED; |
92 | } | 92 | } |
93 | 93 | ||
94 | static int __devinit adc_jack_probe(struct platform_device *pdev) | 94 | static int adc_jack_probe(struct platform_device *pdev) |
95 | { | 95 | { |
96 | struct adc_jack_data *data; | 96 | struct adc_jack_data *data; |
97 | struct adc_jack_pdata *pdata = pdev->dev.platform_data; | 97 | struct adc_jack_pdata *pdata = pdev->dev.platform_data; |
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index c4ea28c30c33..2473be9ac5de 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -337,7 +337,7 @@ static irqreturn_t arizona_jackdet(int irq, void *data) | |||
337 | return IRQ_HANDLED; | 337 | return IRQ_HANDLED; |
338 | } | 338 | } |
339 | 339 | ||
340 | static int __devinit arizona_extcon_probe(struct platform_device *pdev) | 340 | static int arizona_extcon_probe(struct platform_device *pdev) |
341 | { | 341 | { |
342 | struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); | 342 | struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); |
343 | struct arizona_pdata *pdata; | 343 | struct arizona_pdata *pdata; |
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c index 3fe3381dc60a..e02219e5a3d8 100644 --- a/drivers/extcon/extcon-gpio.c +++ b/drivers/extcon/extcon-gpio.c | |||
@@ -76,7 +76,7 @@ static ssize_t extcon_gpio_print_state(struct extcon_dev *edev, char *buf) | |||
76 | return -EINVAL; | 76 | return -EINVAL; |
77 | } | 77 | } |
78 | 78 | ||
79 | static int __devinit gpio_extcon_probe(struct platform_device *pdev) | 79 | static int gpio_extcon_probe(struct platform_device *pdev) |
80 | { | 80 | { |
81 | struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data; | 81 | struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data; |
82 | struct gpio_extcon_data *extcon_data; | 82 | struct gpio_extcon_data *extcon_data; |
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 3cde2c5c88f3..437f573dc582 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c | |||
@@ -648,7 +648,7 @@ out: | |||
648 | return ret; | 648 | return ret; |
649 | } | 649 | } |
650 | 650 | ||
651 | static int __devinit max77693_muic_probe(struct platform_device *pdev) | 651 | static int max77693_muic_probe(struct platform_device *pdev) |
652 | { | 652 | { |
653 | struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); | 653 | struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent); |
654 | struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev); | 654 | struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev); |
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index b85189b20b97..49812991c5e6 100644 --- a/drivers/extcon/extcon-max8997.c +++ b/drivers/extcon/extcon-max8997.c | |||
@@ -426,7 +426,7 @@ static void max8997_muic_detect_dev(struct max8997_muic_info *info) | |||
426 | max8997_muic_handle_charger_type(info, chg_type); | 426 | max8997_muic_handle_charger_type(info, chg_type); |
427 | } | 427 | } |
428 | 428 | ||
429 | static int __devinit max8997_muic_probe(struct platform_device *pdev) | 429 | static int max8997_muic_probe(struct platform_device *pdev) |
430 | { | 430 | { |
431 | struct max8997_dev *max8997 = dev_get_drvdata(pdev->dev.parent); | 431 | struct max8997_dev *max8997 = dev_get_drvdata(pdev->dev.parent); |
432 | struct max8997_platform_data *pdata = dev_get_platdata(max8997->dev); | 432 | struct max8997_platform_data *pdata = dev_get_platdata(max8997->dev); |