diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:23:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 15:34:57 -0500 |
commit | 98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7 (patch) | |
tree | 998114c044f2d252299b8ae27cad03e111c64eb0 /drivers/leds/leds-lm3642.c | |
parent | df07cf81268192e42c4cdf91f5f4bf9aaac1b2f0 (diff) |
leds: 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: Richard Purdie <rpurdie@rpsys.net>
Cc: Jan-Simon Moeller <jansimon.moeller@gmx.de>
Acked-by: Bryan Wu <cooloney@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/leds/leds-lm3642.c')
-rw-r--r-- | drivers/leds/leds-lm3642.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-lm3642.c b/drivers/leds/leds-lm3642.c index cae0b7017cbb..20a45812219b 100644 --- a/drivers/leds/leds-lm3642.c +++ b/drivers/leds/leds-lm3642.c | |||
@@ -93,7 +93,7 @@ struct lm3642_chip_data { | |||
93 | }; | 93 | }; |
94 | 94 | ||
95 | /* chip initialize */ | 95 | /* chip initialize */ |
96 | static int __devinit lm3642_chip_init(struct lm3642_chip_data *chip) | 96 | static int lm3642_chip_init(struct lm3642_chip_data *chip) |
97 | { | 97 | { |
98 | int ret; | 98 | int ret; |
99 | struct lm3642_platform_data *pdata = chip->pdata; | 99 | struct lm3642_platform_data *pdata = chip->pdata; |
@@ -313,7 +313,7 @@ static const struct regmap_config lm3642_regmap = { | |||
313 | .max_register = REG_MAX, | 313 | .max_register = REG_MAX, |
314 | }; | 314 | }; |
315 | 315 | ||
316 | static int __devinit lm3642_probe(struct i2c_client *client, | 316 | static int lm3642_probe(struct i2c_client *client, |
317 | const struct i2c_device_id *id) | 317 | const struct i2c_device_id *id) |
318 | { | 318 | { |
319 | struct lm3642_platform_data *pdata = client->dev.platform_data; | 319 | struct lm3642_platform_data *pdata = client->dev.platform_data; |