serial/8250_fintek: Use private data structure
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 16 Jun 2015 08:59:36 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 22:14:42 +0000 (15:14 -0700)
commit92a5f11a1a3357964c30c34d55dc55152315b81b
tree74084465d2acac2a08b7e5b5fa4523d9a86bc9ed
parent75406b3b17ee5a107b361b4065ad83fe42fff5a8
serial/8250_fintek: Use private data structure

Save the port index and the line id in a private structure.

Reported-by: Peter Hong <peter_hong@fintek.com.tw>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_fintek.c