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

Skip to content
Commit 56b42767 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Walleij
Browse files

gpio: use container_of to resolve cs5535_gpio_chip from gpio_chip



Use container_of instead of casting first structure member.

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1e960dbb
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