sc16is7xx: save and use per-chip line number
authorJakub Kicinski <kubakici@wp.pl>
Fri, 31 Jul 2015 12:44:22 +0000 (14:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 05:07:27 +0000 (22:07 -0700)
commite92a886bf7841cd163860165db680cfbca5c7f0d
tree680fa6b4579458a110ff9372b921355435adafd8
parent8cd90e50d1408c65c355084b1c7f8f9085f49c6b
sc16is7xx: save and use per-chip line number

In preparation of supporting multiple devices we should save
the per-chip line number (0 or 1), because the uart_port line
will reflect system-wide uart number and will be offseted for
chips other than the first to register.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c