commit | 8ae6ace128023c08b475ddd5153761c3765812ab | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Mon Feb 22 17:43:28 2016 +0530 |
committer | Laxman Dewangan <ldewangan@nvidia.com> | Tue Feb 23 20:34:06 2016 +0530 |
tree | 65310ffa06434655ec632ef83cd33823581beeb7 | |
parent | daa994bfe22ed690fb8e377c43faf7e16aad59da [diff] |
gpio: adp5520: 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: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com>