summaryrefslogtreecommitdiff
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-02-24 14:12:59 +0530
committerLinus Walleij <linus.walleij@linaro.org>2016-04-21 00:01:21 +0200
commit80e0f8d94d3090f0f7bf3faf3e6180e920ee0d22 (patch)
tree3f35ef471617c2575c635ef226ed418f319fb15c /Documentation/driver-model
parent1417b35e29367b3ea73f80c564e4ce7a9a09b729 (diff)
pinctrl: Add devm_ apis for pinctrl_{register, unregister}
Add device managed APIs devm_pinctrl_register() and devm_pinctrl_unregister() for the APIs pinctrl_register() and pinctrl_unregister(). 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> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/driver-model')
0 files changed, 0 insertions, 0 deletions