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-09-14 20:54:44 +02:00
2012-07-27 15:14:26 -07:00
2012-09-13 00:24:29 -04:00
2012-08-06 13:29:57 -07:00
2012-08-28 21:01:01 +02:00
2012-08-02 13:51:46 -04:00
2012-08-25 11:36:43 -07:00
2012-09-16 17:31:36 -07:00
2012-09-05 13:28:35 -07:00
2012-07-30 17:25:13 -07:00
2012-08-21 16:45:02 -07:00
2012-07-16 23:23:52 -07:00
2012-08-23 17:02:42 +02:00
2012-08-17 19:37:08 +02:00
2012-09-12 07:14:17 +08:00
2012-08-13 10:15:22 +05:30
2012-07-29 21:11:05 -03:00
2012-09-16 13:22:21 -07:00
2012-07-30 09:32:39 -07:00
2012-07-31 19:07:42 -07:00
2012-09-01 12:52:24 +02:00
2012-09-14 15:45:01 +10:00
2012-09-07 12:29:38 -07:00
2012-07-31 19:07:42 -07:00
2012-09-12 06:42:11 -07:00
2012-09-14 17:55:57 -07:00
2012-08-21 14:54:42 -07:00
2012-08-17 19:37:14 +02:00
2012-07-12 07:54:45 -07:00
2012-08-27 21:15:25 +01:00
2012-08-16 09:38:39 -07:00
2012-09-08 16:20:59 -07:00
2012-08-10 11:34:08 +02:00
2012-09-16 17:31:36 -07:00
2012-08-13 14:34:02 +08:00
2012-08-18 09:51:42 +10:00
2012-08-21 16:54:38 -07:00
2012-07-30 17:25:17 -07:00
2012-09-16 13:22:21 -07:00
2012-08-27 07:13:33 -07:00
2012-09-16 17:31:36 -07:00
2012-09-04 09:40:26 +03:00
2012-09-16 17:31:36 -07:00
2012-08-20 02:16:00 -07:00
2012-07-24 16:17:07 -07:00
2012-09-05 16:34:22 -07:00
2012-08-23 10:53:08 -06:00
2012-07-27 15:14:26 -07:00
2012-08-17 11:09:58 +02:00
2012-09-13 16:46:31 -04:00
2012-08-02 11:52:39 -07:00
2012-07-30 17:25:21 -07:00
2012-09-10 17:04:38 +02:00
2012-08-21 16:45:03 -07:00
2012-09-16 13:22:21 -07:00
2012-07-26 16:19:08 -07:00
2012-07-26 16:19:08 -07:00
2012-08-27 17:07:37 -07:00
2012-09-16 17:31:36 -07:00
2012-08-22 09:42:54 +04:00
2012-08-09 13:21:05 +09:00
2012-08-25 11:45:04 -07:00
2012-09-21 09:04:18 -07:00
2012-09-07 11:32:54 -07:00
2012-07-31 18:08:25 -07:00
2012-09-21 09:53:16 -07:00
2012-09-16 17:31:36 -07:00
2012-08-22 10:26:42 -04:00
2012-08-20 14:52:11 -07:00
2012-08-23 12:37:22 +00:00
2012-07-20 08:59:03 +01:00
2012-07-19 15:39:39 -07:00
2012-08-16 12:33:59 -07:00
2012-08-29 17:13:06 +02:00
2012-09-06 09:22:02 -04:00
2012-07-15 19:56:38 +02:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00