aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/leds/leds-lp55xx-common.h
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2020-07-16 13:20:00 -0500
committerPavel Machek <pavel@ucw.cz>2020-07-22 14:42:06 +0200
commitc732eaf01f9c213d34b2d224bcda830089bbcf8a (patch)
tree4d1a1670b2d4ad32bb5678f1b1e17bc0ad1d47ce /drivers/leds/leds-lp55xx-common.h
parentdt-bindings: leds: Convert leds-lp55xx to yaml (diff)
downloadwireguard-linux-c732eaf01f9c213d34b2d224bcda830089bbcf8a.tar.xz
wireguard-linux-c732eaf01f9c213d34b2d224bcda830089bbcf8a.zip
leds: lp55xx: Convert LED class registration to devm_*
Convert the LED class registration calls to the LED devm_* registration calls. Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-lp55xx-common.h')
-rw-r--r--drivers/leds/leds-lp55xx-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/leds/leds-lp55xx-common.h b/drivers/leds/leds-lp55xx-common.h
index 783ed5103ce5..b9b1041e8143 100644
--- a/drivers/leds/leds-lp55xx-common.h
+++ b/drivers/leds/leds-lp55xx-common.h
@@ -189,8 +189,6 @@ extern void lp55xx_deinit_device(struct lp55xx_chip *chip);
/* common LED class device functions */
extern int lp55xx_register_leds(struct lp55xx_led *led,
struct lp55xx_chip *chip);
-extern void lp55xx_unregister_leds(struct lp55xx_led *led,
- struct lp55xx_chip *chip);
/* common device attributes functions */
extern int lp55xx_register_sysfs(struct lp55xx_chip *chip);