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>
This commit is contained in:
parent
93ed032780
commit
44f34fd4a7
|
@ -91,7 +91,7 @@ static irqreturn_t adc_jack_irq_thread(int irq, void *_data)
|
|||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static int __devinit adc_jack_probe(struct platform_device *pdev)
|
||||
static int adc_jack_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct adc_jack_data *data;
|
||||
struct adc_jack_pdata *pdata = pdev->dev.platform_data;
|
||||
|
|
|
@ -337,7 +337,7 @@ static irqreturn_t arizona_jackdet(int irq, void *data)
|
|||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static int __devinit arizona_extcon_probe(struct platform_device *pdev)
|
||||
static int arizona_extcon_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
|
||||
struct arizona_pdata *pdata;
|
||||
|
|
|
@ -76,7 +76,7 @@ static ssize_t extcon_gpio_print_state(struct extcon_dev *edev, char *buf)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
static int __devinit gpio_extcon_probe(struct platform_device *pdev)
|
||||
static int gpio_extcon_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data;
|
||||
struct gpio_extcon_data *extcon_data;
|
||||
|
|
|
@ -648,7 +648,7 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int __devinit max77693_muic_probe(struct platform_device *pdev)
|
||||
static int max77693_muic_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct max77693_dev *max77693 = dev_get_drvdata(pdev->dev.parent);
|
||||
struct max77693_platform_data *pdata = dev_get_platdata(max77693->dev);
|
||||
|
|
|
@ -426,7 +426,7 @@ static void max8997_muic_detect_dev(struct max8997_muic_info *info)
|
|||
max8997_muic_handle_charger_type(info, chg_type);
|
||||
}
|
||||
|
||||
static int __devinit max8997_muic_probe(struct platform_device *pdev)
|
||||
static int max8997_muic_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct max8997_dev *max8997 = dev_get_drvdata(pdev->dev.parent);
|
||||
struct max8997_platform_data *pdata = dev_get_platdata(max8997->dev);
|
||||
|
|
Loading…
Reference in New Issue