diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-04-16 12:51:00 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-04-18 07:53:13 -0400 |
commit | 6d4ca1fb467932773da7b808c52f3d7ef4461ba0 (patch) | |
tree | 6e2055564dc75b2c44a3a41daf6ebfcfce326617 /Documentation/driver-model/devres.txt | |
parent | 2aeefe0233174015aef19dc06aac02a1119a44be (diff) |
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>
Diffstat (limited to 'Documentation/driver-model/devres.txt')
-rw-r--r-- | Documentation/driver-model/devres.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 2a596a4fc23e..ef4fa7b423d2 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt | |||
@@ -276,3 +276,7 @@ REGULATOR | |||
276 | devm_regulator_get() | 276 | devm_regulator_get() |
277 | devm_regulator_put() | 277 | devm_regulator_put() |
278 | devm_regulator_bulk_get() | 278 | devm_regulator_bulk_get() |
279 | |||
280 | PINCTRL | ||
281 | devm_pinctrl_get() | ||
282 | devm_pinctrl_put() | ||