serial: mctrl-gpio: don't check for struct mctrl_gpios * to be invalid
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 12 Feb 2015 14:24:41 +0000 (15:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:15:04 +0000 (03:15 +0100)
commit9e9f079c56517568868788945dc4a080de6e150b
treea618ba2d2387e7f6c3141baa900239d5681f0749
parent343fda95481a7254fd81342370ba04ab255f95fe
serial: mctrl-gpio: don't check for struct mctrl_gpios * to be invalid

Drivers using mctrl-gpio must not pass invalid values for struct
mctrl_gpios *. All drivers were fixed in this regard and so some checks
can go away or be simplified.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_mctrl_gpio.c