diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-02-26 03:34:07 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-07 05:27:29 +0100 |
commit | a72149e82b65b76d2dae5428a6b211eb43933529 (patch) | |
tree | 81a5401294d90b2810bd8954bf21fbb5c57e9830 /drivers/pinctrl/pinctrl-u300.c | |
parent | Linux 3.9-rc1 (diff) | |
download | linux-a72149e82b65b76d2dae5428a6b211eb43933529.tar.xz linux-a72149e82b65b76d2dae5428a6b211eb43933529.zip |
pinctrl: core: use devres_release() instead of devres_destroy()
devres_release() can simplify the code, because devres_release()
will call the destructor for the resource as well as freeing
the devres data.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-u300.c')
0 files changed, 0 insertions, 0 deletions