Skip to content

Commit f791be4

Browse files
wfp5pgregkh
authored andcommitted
mfd: 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: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Daniel Walker <dwalker@fifo99.com> Cc: Bryan Huntsman <bryanh@codeaurora.org> Acked-by: David Brown <davidb@codeaurora.org> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 8444921 commit f791be4

69 files changed

Lines changed: 138 additions & 138 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/mfd/88pm800.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static const struct regmap_irq pm800_irqs[] = {
248248
},
249249
};
250250

251-
static int __devinit device_gpadc_init(struct pm80x_chip *chip,
251+
static int device_gpadc_init(struct pm80x_chip *chip,
252252
struct pm80x_platform_data *pdata)
253253
{
254254
struct pm80x_subchip *subchip = chip->subchip;
@@ -315,7 +315,7 @@ static int __devinit device_gpadc_init(struct pm80x_chip *chip,
315315
return ret;
316316
}
317317

318-
static int __devinit device_irq_init_800(struct pm80x_chip *chip)
318+
static int device_irq_init_800(struct pm80x_chip *chip)
319319
{
320320
struct regmap *map = chip->regmap;
321321
unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
@@ -415,7 +415,7 @@ static void pm800_pages_exit(struct pm80x_chip *chip)
415415
}
416416
}
417417

418-
static int __devinit device_800_init(struct pm80x_chip *chip,
418+
static int device_800_init(struct pm80x_chip *chip,
419419
struct pm80x_platform_data *pdata)
420420
{
421421
int ret, pmic_id;
@@ -499,7 +499,7 @@ static int __devinit device_800_init(struct pm80x_chip *chip,
499499
return ret;
500500
}
501501

502-
static int __devinit pm800_probe(struct i2c_client *client,
502+
static int pm800_probe(struct i2c_client *client,
503503
const struct i2c_device_id *id)
504504
{
505505
int ret = 0;

‎drivers/mfd/88pm805.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ static struct regmap_irq pm805_irqs[] = {
135135
},
136136
};
137137

138-
static int __devinit device_irq_init_805(struct pm80x_chip *chip)
138+
static int device_irq_init_805(struct pm80x_chip *chip)
139139
{
140140
struct regmap *map = chip->regmap;
141141
unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
@@ -189,7 +189,7 @@ static struct regmap_irq_chip pm805_irq_chip = {
189189
.ack_base = PM805_INT_STATUS1,
190190
};
191191

192-
static int __devinit device_805_init(struct pm80x_chip *chip)
192+
static int device_805_init(struct pm80x_chip *chip)
193193
{
194194
int ret = 0;
195195
unsigned int val;
@@ -232,7 +232,7 @@ static int __devinit device_805_init(struct pm80x_chip *chip)
232232
return ret;
233233
}
234234

235-
static int __devinit pm805_probe(struct i2c_client *client,
235+
static int pm805_probe(struct i2c_client *client,
236236
const struct i2c_device_id *id)
237237
{
238238
int ret = 0;

‎drivers/mfd/88pm80x.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const struct regmap_config pm80x_regmap_config = {
3131
};
3232
EXPORT_SYMBOL_GPL(pm80x_regmap_config);
3333

34-
int __devinit pm80x_init(struct i2c_client *client,
34+
int pm80x_init(struct i2c_client *client,
3535
const struct i2c_device_id *id)
3636
{
3737
struct pm80x_chip *chip;

‎drivers/mfd/88pm860x-core.c‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ static struct irq_domain_ops pm860x_irq_domain_ops = {
565565
.xlate = irq_domain_xlate_onetwocell,
566566
};
567567

568-
static int __devinit device_irq_init(struct pm860x_chip *chip,
568+
static int device_irq_init(struct pm860x_chip *chip,
569569
struct pm860x_platform_data *pdata)
570570
{
571571
struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \
@@ -730,7 +730,7 @@ int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client)
730730
}
731731
EXPORT_SYMBOL(pm8606_osc_disable);
732732

733-
static void __devinit device_osc_init(struct i2c_client *i2c)
733+
static void device_osc_init(struct i2c_client *i2c)
734734
{
735735
struct pm860x_chip *chip = i2c_get_clientdata(i2c);
736736

@@ -745,7 +745,7 @@ static void __devinit device_osc_init(struct i2c_client *i2c)
745745
chip->osc_status = PM8606_REF_GP_OSC_OFF;
746746
}
747747

748-
static void __devinit device_bk_init(struct pm860x_chip *chip,
748+
static void device_bk_init(struct pm860x_chip *chip,
749749
struct pm860x_platform_data *pdata)
750750
{
751751
int ret, i;
@@ -765,7 +765,7 @@ static void __devinit device_bk_init(struct pm860x_chip *chip,
765765
dev_err(chip->dev, "Failed to add backlight subdev\n");
766766
}
767767

768-
static void __devinit device_led_init(struct pm860x_chip *chip,
768+
static void device_led_init(struct pm860x_chip *chip,
769769
struct pm860x_platform_data *pdata)
770770
{
771771
int ret, i;
@@ -787,7 +787,7 @@ static void __devinit device_led_init(struct pm860x_chip *chip,
787787
}
788788
}
789789

790-
static void __devinit device_regulator_init(struct pm860x_chip *chip,
790+
static void device_regulator_init(struct pm860x_chip *chip,
791791
struct pm860x_platform_data *pdata)
792792
{
793793
int ret;
@@ -866,7 +866,7 @@ static void __devinit device_regulator_init(struct pm860x_chip *chip,
866866
}
867867
}
868868

869-
static void __devinit device_rtc_init(struct pm860x_chip *chip,
869+
static void device_rtc_init(struct pm860x_chip *chip,
870870
struct pm860x_platform_data *pdata)
871871
{
872872
int ret;
@@ -885,7 +885,7 @@ static void __devinit device_rtc_init(struct pm860x_chip *chip,
885885
dev_err(chip->dev, "Failed to add rtc subdev\n");
886886
}
887887

888-
static void __devinit device_touch_init(struct pm860x_chip *chip,
888+
static void device_touch_init(struct pm860x_chip *chip,
889889
struct pm860x_platform_data *pdata)
890890
{
891891
int ret;
@@ -904,7 +904,7 @@ static void __devinit device_touch_init(struct pm860x_chip *chip,
904904
dev_err(chip->dev, "Failed to add touch subdev\n");
905905
}
906906

907-
static void __devinit device_power_init(struct pm860x_chip *chip,
907+
static void device_power_init(struct pm860x_chip *chip,
908908
struct pm860x_platform_data *pdata)
909909
{
910910
int ret;
@@ -951,7 +951,7 @@ static void __devinit device_power_init(struct pm860x_chip *chip,
951951
}
952952
}
953953

954-
static void __devinit device_onkey_init(struct pm860x_chip *chip,
954+
static void device_onkey_init(struct pm860x_chip *chip,
955955
struct pm860x_platform_data *pdata)
956956
{
957957
int ret;
@@ -965,7 +965,7 @@ static void __devinit device_onkey_init(struct pm860x_chip *chip,
965965
dev_err(chip->dev, "Failed to add onkey subdev\n");
966966
}
967967

968-
static void __devinit device_codec_init(struct pm860x_chip *chip,
968+
static void device_codec_init(struct pm860x_chip *chip,
969969
struct pm860x_platform_data *pdata)
970970
{
971971
int ret;
@@ -979,7 +979,7 @@ static void __devinit device_codec_init(struct pm860x_chip *chip,
979979
dev_err(chip->dev, "Failed to add codec subdev\n");
980980
}
981981

982-
static void __devinit device_8607_init(struct pm860x_chip *chip,
982+
static void device_8607_init(struct pm860x_chip *chip,
983983
struct i2c_client *i2c,
984984
struct pm860x_platform_data *pdata)
985985
{
@@ -1040,7 +1040,7 @@ static void __devinit device_8607_init(struct pm860x_chip *chip,
10401040
return;
10411041
}
10421042

1043-
static void __devinit device_8606_init(struct pm860x_chip *chip,
1043+
static void device_8606_init(struct pm860x_chip *chip,
10441044
struct i2c_client *i2c,
10451045
struct pm860x_platform_data *pdata)
10461046
{
@@ -1049,7 +1049,7 @@ static void __devinit device_8606_init(struct pm860x_chip *chip,
10491049
device_led_init(chip, pdata);
10501050
}
10511051

1052-
static int __devinit pm860x_device_init(struct pm860x_chip *chip,
1052+
static int pm860x_device_init(struct pm860x_chip *chip,
10531053
struct pm860x_platform_data *pdata)
10541054
{
10551055
chip->core_irq = 0;
@@ -1109,7 +1109,7 @@ static struct regmap_config pm860x_regmap_config = {
11091109
.val_bits = 8,
11101110
};
11111111

1112-
static int __devinit pm860x_dt_init(struct device_node *np,
1112+
static int pm860x_dt_init(struct device_node *np,
11131113
struct device *dev,
11141114
struct pm860x_platform_data *pdata)
11151115
{
@@ -1127,7 +1127,7 @@ static int __devinit pm860x_dt_init(struct device_node *np,
11271127
return 0;
11281128
}
11291129

1130-
static int __devinit pm860x_probe(struct i2c_client *client,
1130+
static int pm860x_probe(struct i2c_client *client,
11311131
const struct i2c_device_id *id)
11321132
{
11331133
struct pm860x_platform_data *pdata = client->dev.platform_data;

‎drivers/mfd/ab3100-core.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ ab3100_init_settings[] = {
708708
},
709709
};
710710

711-
static int __devinit ab3100_setup(struct ab3100 *ab3100)
711+
static int ab3100_setup(struct ab3100 *ab3100)
712712
{
713713
int err = 0;
714714
int i;
@@ -857,7 +857,7 @@ static const struct ab_family_id ids[] __devinitconst = {
857857
},
858858
};
859859

860-
static int __devinit ab3100_probe(struct i2c_client *client,
860+
static int ab3100_probe(struct i2c_client *client,
861861
const struct i2c_device_id *id)
862862
{
863863
struct ab3100 *ab3100;

‎drivers/mfd/ab8500-core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ static struct attribute_group ab9540_attr_group = {
12481248
.attrs = ab9540_sysfs_entries,
12491249
};
12501250

1251-
static int __devinit ab8500_probe(struct platform_device *pdev)
1251+
static int ab8500_probe(struct platform_device *pdev)
12521252
{
12531253
static char *switch_off_status[] = {
12541254
"Swoff bit programming",

‎drivers/mfd/ab8500-debugfs.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ static struct dentry *ab8500_bank_file;
552552
static struct dentry *ab8500_address_file;
553553
static struct dentry *ab8500_val_file;
554554

555-
static int __devinit ab8500_debug_probe(struct platform_device *plf)
555+
static int ab8500_debug_probe(struct platform_device *plf)
556556
{
557557
debug_bank = AB8500_MISC;
558558
debug_address = AB8500_REV_REG & 0x00FF;

‎drivers/mfd/ab8500-gpadc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ static void ab8500_gpadc_read_calibration_data(struct ab8500_gpadc *gpadc)
571571
gpadc->cal_data[ADC_INPUT_VBAT].offset);
572572
}
573573

574-
static int __devinit ab8500_gpadc_probe(struct platform_device *pdev)
574+
static int ab8500_gpadc_probe(struct platform_device *pdev)
575575
{
576576
int ret = 0;
577577
struct ab8500_gpadc *gpadc;

‎drivers/mfd/ab8500-sysctrl.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int ab8500_sysctrl_write(u16 reg, u8 mask, u8 value)
4949
(u8)(reg & 0xFF), mask, value);
5050
}
5151

52-
static int __devinit ab8500_sysctrl_probe(struct platform_device *pdev)
52+
static int ab8500_sysctrl_probe(struct platform_device *pdev)
5353
{
5454
sysctrl_dev = &pdev->dev;
5555
return 0;

‎drivers/mfd/adp5520.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static int adp5520_remove_subdevs(struct adp5520_chip *chip)
203203
return device_for_each_child(chip->dev, NULL, __remove_subdev);
204204
}
205205

206-
static int __devinit adp5520_probe(struct i2c_client *client,
206+
static int adp5520_probe(struct i2c_client *client,
207207
const struct i2c_device_id *id)
208208
{
209209
struct adp5520_platform_data *pdata = client->dev.platform_data;

0 commit comments

Comments
 (0)