Skip to content
Commit 35a26144 authored by Amitesh Singh's avatar Amitesh Singh Committed by Linus Walleij
Browse files

gpio: f7188x: use gpiochip_get_data instead of container_of



gpiochip_add_data is already used to add data pointer and chip.
Lets rely on gpiochip_get_data which is getting used in other
gpio_chip functions.

Signed-off-by: default avatarAmitesh Singh <singh.amitesh@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 8df759c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment