diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-02-15 16:32:09 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2016-02-23 19:40:33 +0530 |
commit | 0cf3292cde22f8843ae5d1eeb8466d8121243c1a (patch) | |
tree | 3bc161eda1d422aa600434e3b03985ff736ea761 /drivers/isdn | |
parent | e5451c8f8330e03ad3cfa16048b4daf961af434f (diff) | |
download | linux-0cf3292cde22f8843ae5d1eeb8466d8121243c1a.tar.gz linux-0cf3292cde22f8843ae5d1eeb8466d8121243c1a.tar.bz2 linux-0cf3292cde22f8843ae5d1eeb8466d8121243c1a.zip |
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: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions