Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0cf3292c authored by Laxman Dewangan's avatar Laxman Dewangan
Browse files

gpio: Add devm_ apis for gpiochip_add_data and gpiochip_remove



Add device managed APIs devm_gpiochip_add_data() and
devm_gpiochip_remove() for the APIs gpiochip_add_data()
and gpiochip_remove().

This helps in reducing code in error path and sometimes
removal of .remove callback for driver unbind.

Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
parent e5451c8f
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