serial: exar: Factor out platform hooks
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 2 Jun 2017 05:27:59 +0000 (07:27 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 3 Jul 2017 06:30:54 +0000 (08:30 +0200)
commit0d963ebf57d4c6374b3a33050a18af23c1e2ede1
treee7d793b7375709708747a179cecad7a4c4e7b65a
parent4076cf08ac7673aca7d4dd9ddf18045d08dbc292
serial: exar: Factor out platform hooks

This prepares the addition of IOT2040 platform support by preparing the
needed setup and rs485_config hooks.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c