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

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



Use devm version of gpiochip add function to handle removal for us.

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


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 804073f5
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