]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Call methods in modern style
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 5 Nov 2014 17:26:25 +0000 (12:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 04:18:30 +0000 (20:18 -0800)
commitd76334a37445ebae27a393f34ae960f86e7b50f5
treecf2b484bf467e9d6e87d9845552c3d5bb9e7850c
parentf23d4fe85cddeffbdb110c2f92fee3eddf4dea46
tty: Call methods in modern style

The use of older function ptr calling style, (*fn)(), makes static
analysis more error-prone; replace with modern fn() style.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
drivers/tty/tty_ioctl.c