diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-02-22 17:43:28 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2016-02-23 20:19:42 +0530 |
commit | a718ed2cfed0faba89b4bb9fa9f1ab5957891de9 (patch) | |
tree | 84bc3934445eec007046f50321a4edc625a705e9 /drivers/gpio/gpio-adnp.c | |
parent | 77ae582c86cf4b5bd5b8df84d9508b7b4dcc25a6 (diff) | |
download | lwn-a718ed2cfed0faba89b4bb9fa9f1ab5957891de9.tar.gz lwn-a718ed2cfed0faba89b4bb9fa9f1ab5957891de9.zip |
gpio: 74xx-mmio: Use devm_gpiochip_add_data() for gpio registration
Use devm_gpiochip_add_data() for GPIO registration and remove the
call for gpiochip_remove() from error path.
Also remove the need of driver callback .remove.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Alexander Shiyan <shc_work@mail.ru>
Diffstat (limited to 'drivers/gpio/gpio-adnp.c')
0 files changed, 0 insertions, 0 deletions