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:34:06 +0530 |
commit | 8ae6ace128023c08b475ddd5153761c3765812ab (patch) | |
tree | 65310ffa06434655ec632ef83cd33823581beeb7 /Documentation/xz.txt | |
parent | daa994bfe22ed690fb8e377c43faf7e16aad59da (diff) | |
download | lwn-8ae6ace128023c08b475ddd5153761c3765812ab.tar.gz lwn-8ae6ace128023c08b475ddd5153761c3765812ab.zip |
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>
Diffstat (limited to 'Documentation/xz.txt')
0 files changed, 0 insertions, 0 deletions