pinctrl: implement devm_pinctrl_get()/put()
authorStephen Warren <swarren@nvidia.com>
Mon, 16 Apr 2012 16:51:00 +0000 (10:51 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Apr 2012 11:53:13 +0000 (13:53 +0200)
commit6d4ca1fb467932773da7b808c52f3d7ef4461ba0
tree6e2055564dc75b2c44a3a41daf6ebfcfce326617
parent2aeefe0233174015aef19dc06aac02a1119a44be
pinctrl: implement devm_pinctrl_get()/put()

These functions allow the driver core to automatically clean up any
allocations made by drivers, thus leading to simplified drivers.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-model/devres.txt
Documentation/pinctrl.txt
drivers/pinctrl/core.c
include/linux/pinctrl/consumer.h