]> 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)
commitf7652ed5ce101396940fd6065204c560e58a951e
treecf2b484bf467e9d6e87d9845552c3d5bb9e7850c
parent6a214691f0e30805b6221e91f99b87ebdbf3e5fb
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