]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
serial: 8250: let serial8250_get_divisor() get uart_port * as param
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Wed, 4 Jul 2018 09:00:40 +0000 (17:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2018 14:45:38 +0000 (16:45 +0200)
commit6101be86cb1c46d1c6da969a5e22c7efc0de6f46
treedd7c11a5c35ac1a6536a69c374268324c9dc574c
parent6eefc68d1bbe28feb6cdfbd49648a713446bdc00
serial: 8250: let serial8250_get_divisor() get uart_port * as param

Align serial8250_get_divisor() with serial8250_set_divisor() to accept
uart_port pointer as the first parameter. No functionality changes.

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_port.c