summaryrefslogtreecommitdiff
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-02-15 16:32:09 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2016-02-23 19:40:33 +0530
commit0cf3292cde22f8843ae5d1eeb8466d8121243c1a (patch)
tree3bc161eda1d422aa600434e3b03985ff736ea761 /Documentation/driver-model
parente5451c8f8330e03ad3cfa16048b4daf961af434f (diff)
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 'Documentation/driver-model')
0 files changed, 0 insertions, 0 deletions