aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lp55xx-common.h
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim <milo.kim@ti.com>2013-02-05 05:03:02 -0500
committerBryan Wu <cooloney@gmail.com>2013-02-06 18:59:27 -0500
commit6ce6176263393dd80b9a537c1e1462b8529f240b (patch)
tree9e96351d63c51119625d09d0f3df61376c803367 /drivers/leds/leds-lp55xx-common.h
parent22ebeb488b3dbbb64b81146b366551107ae34af8 (diff)
leds-lp55xx: use lp55xx common deinit function
Two separate de-init functions are merged into one common function. And it is used in err_post_init of lp55xx_init_device(). 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/leds/leds-lp55xx-common.h b/drivers/leds/leds-lp55xx-common.h
index ffedc7723d84..908b00a56b7e 100644
--- a/drivers/leds/leds-lp55xx-common.h
+++ b/drivers/leds/leds-lp55xx-common.h
@@ -84,7 +84,8 @@ extern int lp55xx_read(struct lp55xx_chip *chip, u8 reg, u8 *val);
84extern int lp55xx_update_bits(struct lp55xx_chip *chip, u8 reg, 84extern int lp55xx_update_bits(struct lp55xx_chip *chip, u8 reg,
85 u8 mask, u8 val); 85 u8 mask, u8 val);
86 86
87/* common device init functions */ 87/* common device init/deinit functions */
88extern int lp55xx_init_device(struct lp55xx_chip *chip); 88extern int lp55xx_init_device(struct lp55xx_chip *chip);
89extern void lp55xx_deinit_device(struct lp55xx_chip *chip);
89 90
90#endif /* _LEDS_LP55XX_COMMON_H */ 91#endif /* _LEDS_LP55XX_COMMON_H */