commit | a72149e82b65b76d2dae5428a6b211eb43933529 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Tue Feb 26 11:34:07 2013 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Mar 07 05:27:29 2013 +0100 |
tree | 81a5401294d90b2810bd8954bf21fbb5c57e9830 | |
parent | 6dbe51c251a327e012439c4772097a13df43c5b8 [diff] |
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>