aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lm3642.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-lm3642.c')
-rw-r--r--drivers/leds/leds-lm3642.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/leds/leds-lm3642.c b/drivers/leds/leds-lm3642.c
index 3285006e9888..215a7c1e56cc 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 */
96static int __devinit lm3642_chip_init(struct lm3642_chip_data *chip) 96static 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
316static int __devinit lm3642_probe(struct i2c_client *client, 316static 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;
@@ -420,7 +420,7 @@ err_out:
420 return err; 420 return err;
421} 421}
422 422
423static int __devexit lm3642_remove(struct i2c_client *client) 423static int lm3642_remove(struct i2c_client *client)
424{ 424{
425 struct lm3642_chip_data *chip = i2c_get_clientdata(client); 425 struct lm3642_chip_data *chip = i2c_get_clientdata(client);
426 426
@@ -450,7 +450,7 @@ static struct i2c_driver lm3642_i2c_driver = {
450 .pm = NULL, 450 .pm = NULL,
451 }, 451 },
452 .probe = lm3642_probe, 452 .probe = lm3642_probe,
453 .remove = __devexit_p(lm3642_remove), 453 .remove = lm3642_remove,
454 .id_table = lm3642_id, 454 .id_table = lm3642_id,
455}; 455};
456 456