Skip to content

Commit a502357

Browse files
wfp5pbroonie
authored andcommitted
regulator: 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> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent 5eb9f2b commit a502357

57 files changed

Lines changed: 78 additions & 78 deletions

Some content is hidden

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

‎drivers/regulator/88pm8607.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static int pm8607_regulator_dt_init(struct platform_device *pdev,
394394
#define pm8607_regulator_dt_init(x, y, z) (-1)
395395
#endif
396396

397-
static int __devinit pm8607_regulator_probe(struct platform_device *pdev)
397+
static int pm8607_regulator_probe(struct platform_device *pdev)
398398
{
399399
struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
400400
struct pm8607_regulator_info *info = NULL;

‎drivers/regulator/ab3100.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = {
494494
* for all the different regulators.
495495
*/
496496

497-
static int __devinit ab3100_regulators_probe(struct platform_device *pdev)
497+
static int ab3100_regulators_probe(struct platform_device *pdev)
498498
{
499499
struct ab3100_platform_data *plfdata = pdev->dev.platform_data;
500500
struct regulator_config config = { };

‎drivers/regulator/ab8500.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ static struct ab8500_reg_init ab8500_reg_init[] = {
641641
REG_INIT(AB8500_REGUCTRLDISCH2, 0x04, 0x44, 0x16),
642642
};
643643

644-
static __devinit int
644+
static int
645645
ab8500_regulator_init_registers(struct platform_device *pdev, int id, int value)
646646
{
647647
int err;
@@ -676,7 +676,7 @@ ab8500_regulator_init_registers(struct platform_device *pdev, int id, int value)
676676
return 0;
677677
}
678678

679-
static __devinit int ab8500_regulator_register(struct platform_device *pdev,
679+
static int ab8500_regulator_register(struct platform_device *pdev,
680680
struct regulator_init_data *init_data,
681681
int id,
682682
struct device_node *np)
@@ -735,7 +735,7 @@ static struct of_regulator_match ab8500_regulator_matches[] = {
735735
{ .name = "ab8500_ldo_ana", .driver_data = (void *) AB8500_LDO_ANA, },
736736
};
737737

738-
static __devinit int
738+
static int
739739
ab8500_regulator_of_probe(struct platform_device *pdev, struct device_node *np)
740740
{
741741
int err, i;
@@ -751,7 +751,7 @@ ab8500_regulator_of_probe(struct platform_device *pdev, struct device_node *np)
751751
return 0;
752752
}
753753

754-
static __devinit int ab8500_regulator_probe(struct platform_device *pdev)
754+
static int ab8500_regulator_probe(struct platform_device *pdev)
755755
{
756756
struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent);
757757
struct ab8500_platform_data *pdata;

‎drivers/regulator/ad5398.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ static const struct i2c_device_id ad5398_id[] = {
211211
};
212212
MODULE_DEVICE_TABLE(i2c, ad5398_id);
213213

214-
static int __devinit ad5398_probe(struct i2c_client *client,
214+
static int ad5398_probe(struct i2c_client *client,
215215
const struct i2c_device_id *id)
216216
{
217217
struct regulator_init_data *init_data = client->dev.platform_data;

‎drivers/regulator/anatop-regulator.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static struct regulator_ops anatop_rops = {
8787
.map_voltage = regulator_map_voltage_linear,
8888
};
8989

90-
static int __devinit anatop_regulator_probe(struct platform_device *pdev)
90+
static int anatop_regulator_probe(struct platform_device *pdev)
9191
{
9292
struct device *dev = &pdev->dev;
9393
struct device_node *np = dev->of_node;

‎drivers/regulator/arizona-ldo1.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static const struct regulator_init_data arizona_ldo1_default = {
6767
.num_consumer_supplies = 1,
6868
};
6969

70-
static __devinit int arizona_ldo1_probe(struct platform_device *pdev)
70+
static int arizona_ldo1_probe(struct platform_device *pdev)
7171
{
7272
struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
7373
struct regulator_config config = { };

‎drivers/regulator/arizona-micsupp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static const struct regulator_init_data arizona_micsupp_default = {
115115
.num_consumer_supplies = 1,
116116
};
117117

118-
static __devinit int arizona_micsupp_probe(struct platform_device *pdev)
118+
static int arizona_micsupp_probe(struct platform_device *pdev)
119119
{
120120
struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
121121
struct regulator_config config = { };

‎drivers/regulator/da903x.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ static inline struct da903x_regulator_info *find_regulator_info(int id)
460460
return NULL;
461461
}
462462

463-
static int __devinit da903x_regulator_probe(struct platform_device *pdev)
463+
static int da903x_regulator_probe(struct platform_device *pdev)
464464
{
465465
struct da903x_regulator_info *ri = NULL;
466466
struct regulator_dev *rdev;

‎drivers/regulator/da9052-regulator.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ static inline struct da9052_regulator_info *find_regulator_info(u8 chip_id,
365365
return NULL;
366366
}
367367

368-
static int __devinit da9052_regulator_probe(struct platform_device *pdev)
368+
static int da9052_regulator_probe(struct platform_device *pdev)
369369
{
370370
struct regulator_config config = { };
371371
struct da9052_regulator *regulator;

‎drivers/regulator/db8500-prcmu.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ dbx500_regulator_info[DB8500_NUM_REGULATORS] = {
412412
},
413413
};
414414

415-
static __devinit int db8500_regulator_register(struct platform_device *pdev,
415+
static int db8500_regulator_register(struct platform_device *pdev,
416416
struct regulator_init_data *init_data,
417417
int id,
418418
struct device_node *np)
@@ -474,7 +474,7 @@ static struct of_regulator_match db8500_regulator_matches[] = {
474474
{ .name = "db8500_esram34_ret", .driver_data = (void *) DB8500_REGULATOR_SWITCH_ESRAM34RET, },
475475
};
476476

477-
static __devinit int
477+
static int
478478
db8500_regulator_of_probe(struct platform_device *pdev,
479479
struct device_node *np)
480480
{
@@ -491,7 +491,7 @@ db8500_regulator_of_probe(struct platform_device *pdev,
491491
return 0;
492492
}
493493

494-
static int __devinit db8500_regulator_probe(struct platform_device *pdev)
494+
static int db8500_regulator_probe(struct platform_device *pdev)
495495
{
496496
struct regulator_init_data *db8500_init_data =
497497
dev_get_platdata(&pdev->dev);

0 commit comments

Comments
 (0)