Skip to content
Commit 91940bb4 authored by Cédric Le Goater's avatar Cédric Le Goater Committed by Jacek Anaszewski
Browse files

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: default avatarCédric Le Goater <clg@kaod.org>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
parent ed1f4b96
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment