]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19f4bcc5a9b49841983a5de4fd9845917b222033
treefa7a6a51169a8a8de134351d63d67f430bb2bad6
parent8888255bd5eceac559b3aa7c313431432968255c
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