commit | 8dca4a41f1ad65043a78c2338d9725f859c8d2c3 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Jan 17 15:55:32 2017 +0000 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jan 19 00:15:09 2017 +0100 |
tree | e1c09be45d9c23b22962b10fe0e8c08a30eaeed4 | |
parent | 1fe8d6cbfb47deff69e6fad2a33c044ac745679c [diff] |
pinctrl/amd: Drop pinctrl_unregister for devm_ registered device It's not necessary to unregister pin controller device registered with devm_pinctrl_register() and using pinctrl_unregister() leads to a double free. Fixes: 3bfd44306c65 ("pinctrl: amd: Add support for additional GPIO") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>