diff options
Diffstat (limited to 'drivers/leds/leds-lp5521.c')
-rw-r--r-- | drivers/leds/leds-lp5521.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds/leds-lp5521.c index cc1dc4817fac..9fc122c81f06 100644 --- a/drivers/leds/leds-lp5521.c +++ b/drivers/leds/leds-lp5521.c | |||
@@ -744,7 +744,7 @@ fail1: | |||
744 | return ret; | 744 | return ret; |
745 | } | 745 | } |
746 | 746 | ||
747 | static int lp5521_remove(struct i2c_client *client) | 747 | static int __devexit lp5521_remove(struct i2c_client *client) |
748 | { | 748 | { |
749 | struct lp5521_chip *chip = i2c_get_clientdata(client); | 749 | struct lp5521_chip *chip = i2c_get_clientdata(client); |
750 | int i; | 750 | int i; |
@@ -775,7 +775,7 @@ static struct i2c_driver lp5521_driver = { | |||
775 | .name = "lp5521", | 775 | .name = "lp5521", |
776 | }, | 776 | }, |
777 | .probe = lp5521_probe, | 777 | .probe = lp5521_probe, |
778 | .remove = lp5521_remove, | 778 | .remove = __devexit_p(lp5521_remove), |
779 | .id_table = lp5521_id, | 779 | .id_table = lp5521_id, |
780 | }; | 780 | }; |
781 | 781 | ||