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

Skip to content
Commit 086d585f authored by Tobias Klauser's avatar Tobias Klauser Committed by Linus Walleij
Browse files

gpio/gpio-omap: Use existing pointer to struct device



A pointer to "pdev->dev" is already stored in "dev", so use it in
devm_kzalloc.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Acked-by: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 8944df72
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