mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-11 07:53:21 +00:00
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: Laxman Dewangan <ldewangan@nvidia.com>