pinctrl/pinctrl-u300: remove devm_kfree at driver unload
authorDevendra Naga <devendra.aaru@gmail.com>
Sat, 16 Jun 2012 17:45:37 +0000 (23:15 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Jul 2012 19:51:07 +0000 (21:51 +0200)
commit5a511cd33f55e78de7b26eec16874535446bd6c0
tree75c7cef1f1481578c1a2d5083f9ac4e99a3351ae
parent6887a4131da3adaab011613776d865f4bcfb5678
pinctrl/pinctrl-u300: remove devm_kfree at driver unload

the memory allocated by devm_kzalloc is automatically
freed at the driver detach side, so no neeed of calling
devm_kfree

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-u300.c