commit | c4941e072ed5ac1aaad7365ba1290fdd44e7058c | [log] [tgz] |
---|---|---|
author | Varka Bhadram <varkabhadram@gmail.com> | Tue Apr 07 21:34:40 2015 +0530 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Apr 08 16:54:01 2015 +0200 |
tree | 93a4830f439c3532eb713e34ec39f2b0fcc961a6 | |
parent | 61819549f572edd7fce53f228c0d8420cdc85f71 [diff] |
gpio: removing kfree remove functionality commit 3de07e5aaf290a0b58919 ("drivers: gpio: use devm_kzalloc") introduce devm_kzalloc() for allocating the memory. In this case kfree is not required to use. Above commit id introduced the bug that kfree is not removed from the remove function. This patch fix the above bug. Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>