gpio: use devm_kzalloc
We can use devres API for allocating memory. No need of using kfree. Signed-off-by:Varka Bhadram <varkab@cdac.in> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We can use devres API for allocating memory. No need of using kfree. Signed-off-by:Varka Bhadram <varkab@cdac.in> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>