Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7898b31e authored by Varka Bhadram's avatar Varka Bhadram Committed by Linus Walleij
Browse files

gpio: use devm_kzalloc



We can use devres API for allocating memory. No need of using kfree.

Signed-off-by: default avatarVarka Bhadram <varkab@cdac.in>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d1e10dc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment