Skip to content
Commit 1b5c2fa7 authored by Andrew Davis's avatar Andrew Davis Committed by Lee Jones
Browse files

leds: tca6507: Use devm_led_classdev_register() to simplify remove path



Use devm version of LED classdev register add function to handle removal.

Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20231116224121.302150-2-afd@ti.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 130199ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment