gpio: max732x: use gpiochip data pointer

This makes the driver use the data pointer added to the gpio_chip
to store a pointer to the state container instead of relying on
container_of().

Cc: Nicholas Krause <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Semen Protsenko <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
1 file changed