]> git.karo-electronics.de Git - linux-beck.git/commit
tty: serial: men_z135_uart.c: Don't initialize port->lock
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 6 Aug 2015 07:16:38 +0000 (09:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 00:14:13 +0000 (17:14 -0700)
commit2b9a8508cb7f50d1880e2b8bb43615afd228f738
tree90391a82dc5a83154e3b7070051254959d6213f7
parent8117e347406278fd399b077add4e638cd017ae2d
tty: serial: men_z135_uart.c: Don't initialize port->lock

port->lock get's initialized in uart_add_one_port(), no need to do it
in men_z135_probe().

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/men_z135_uart.c