diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-08-08 15:42:38 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-08-14 22:22:25 +0200 |
commit | 91940bb4ca7b7f1b5426cc14bdbd0c7f8347683f (patch) | |
tree | 2db2abb85dc236dcb2e57e4eac53820512fe693e /drivers/leds/Kconfig | |
parent | ed1f4b9676a8eb9c38cf44cdc06300604bfbb43e (diff) | |
download | linux-stable-91940bb4ca7b7f1b5426cc14bdbd0c7f8347683f.tar.gz linux-stable-91940bb4ca7b7f1b5426cc14bdbd0c7f8347683f.tar.bz2 linux-stable-91940bb4ca7b7f1b5426cc14bdbd0c7f8347683f.zip |
leds: pca955x: use devm_led_classdev_register
This lets us remove the loop doing the cleanup in case of failure and
also the remove handler of the i2c_driver.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/Kconfig')
0 files changed, 0 insertions, 0 deletions