serial: 8250: introduce get_divisor() and set_divisor() hook
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Thu, 12 Jul 2018 01:57:00 +0000 (09:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jul 2018 15:07:26 +0000 (17:07 +0200)
commit0238d2b4a4c7bb1b2268e1ef789629878e16ab02
tree7652740690221e99be068cbeac21a6869fa4724a
parent16777ecd1b54d75136f77b2cc25f2cfa75156852
serial: 8250: introduce get_divisor() and set_divisor() hook

Add these two hooks so that they can be overridden with driver specific
implementations.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/8250/8250_port.c
include/linux/serial_core.h