Richard Zhao 034dc4db6f serial: imx: remove null check of sport in suspend/resume function
platform_get_drvdata always retrun a valid value after probe succeed.

It also fixed smatch warnings:
drivers/tty/serial/imx.c:1376 serial_imx_suspend() warn: variable dereferenced before check 'sport' (see line 1372)
drivers/tty/serial/imx.c:1392 serial_imx_resume() warn: variable dereferenced before check 'sport' (see line 1388)

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-21 09:53:16 -07:00
..
2012-08-02 13:51:46 -04:00
2012-09-16 17:31:36 -07:00
2012-09-05 13:28:35 -07:00
2012-08-13 10:15:22 +05:30
2012-07-29 21:11:05 -03:00
2012-07-30 09:32:39 -07:00
2012-09-16 17:31:36 -07:00
2012-08-13 14:34:02 +08:00
2012-08-27 07:13:33 -07:00
2012-09-16 17:31:36 -07:00
2012-09-16 17:31:36 -07:00
2012-08-27 17:07:37 -07:00
2012-09-16 17:31:36 -07:00
2012-09-16 17:31:36 -07:00
2012-09-06 09:22:02 -04:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00