]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sc16is7xx: Remove serial_rs485 assignment
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 6 Jun 2022 10:04:32 +0000 (13:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 11:49:58 +0000 (13:49 +0200)
commit9e9e6c45d06c4f3444933062b43657da5fe92cf1
treecac95d112313e885a08f1aaeb1f9316a127a88b7
parent00f4910900f41d32616821589a3f42dbb730a779
serial: sc16is7xx: Remove serial_rs485 assignment

Serial core handles serial_rs485 assignment. It is safe to remove this
assignment because sc16is7xx_reg_proc() takes port.lock at start (and
sc16is7xx_reconf_rs485() would too).

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220606100433.13793-36-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c