Skip to content
Commit 56b16a9a authored by Andrew Davis's avatar Andrew Davis Committed by Andy Shevchenko
Browse files

gpio: ich: 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 avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 9409d8cf
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