Skip to content
Commit c3c63e66 authored by Andrew Davis's avatar Andrew Davis Committed by Linus Walleij
Browse files

pinctrl: as3722: 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>
Reviewed-by: default avatarAndy Shevchenko <andy@kernel.org>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20231116223045.274211-1-afd@ti.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 05e4941d
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