Skip to content
Commit 4cf381bf authored by Andrew Davis's avatar Andrew Davis Committed by Bartosz Golaszewski
Browse files

gpio: sch311x: 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>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 81b01099
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