serial: sc16is7xx: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 22:15:53 +0000 (23:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Apr 2016 13:35:39 +0000 (15:35 +0200)
commitdee07cea5452a5d50c6273f7a0d3c1aaa7ce9508
treefa7a6a51169a8a8de134351d63d67f430bb2bad6
parenta00d60a0a2896bced073810fc86ea0764ac54939
serial: sc16is7xx: 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: Jiri Slaby <jslaby@suse.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/tty/serial/sc16is7xx.c