Commit 212892b8 authored by Andrew Davis's avatar Andrew Davis Committed by Bartosz Golaszewski
Browse files

gpio: pisosr: Use devm_gpiochip_add_data() to simplify remove path



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

While here update copyright and module author.

Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 91093b57
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment