diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 05:23:04 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-06 18:59:29 -0500 |
commit | ba6fa84651ff9a609e0ceb8265e3335ab6ed656d (patch) | |
tree | 04599eaf0bac86e7032c3b481434f81185f80ddf /drivers/leds/leds-lp55xx-common.h | |
parent | 9ca3bd8022d76a0d1b386cedcecaf49004a58644 (diff) |
leds-lp55xx: add new function for removing device attribtues
lp55xx_unregister_sysfs() is used for removing lp55xx device attributes.
Chip specific and engine attributes are removed on unloading the driver.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-lp55xx-common.h')
-rw-r--r-- | drivers/leds/leds-lp55xx-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-lp55xx-common.h b/drivers/leds/leds-lp55xx-common.h index 64eb78da1c4b..ece4761a1302 100644 --- a/drivers/leds/leds-lp55xx-common.h +++ b/drivers/leds/leds-lp55xx-common.h | |||
@@ -129,5 +129,6 @@ extern void lp55xx_unregister_leds(struct lp55xx_led *led, | |||
129 | 129 | ||
130 | /* common device attributes functions */ | 130 | /* common device attributes functions */ |
131 | extern int lp55xx_register_sysfs(struct lp55xx_chip *chip); | 131 | extern int lp55xx_register_sysfs(struct lp55xx_chip *chip); |
132 | extern void lp55xx_unregister_sysfs(struct lp55xx_chip *chip); | ||
132 | 133 | ||
133 | #endif /* _LEDS_LP55XX_COMMON_H */ | 134 | #endif /* _LEDS_LP55XX_COMMON_H */ |