Wei Yongjun a6dd114e16 tty: serial: vt8500: fix return value check in vt8500_serial_probe()
In case of error, function of_clk_get() returns ERR_PTR()
and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-15 19:06:42 -08:00
..
2012-12-11 14:08:47 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:22:52 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:27:46 -08:00
2011-03-31 11:26:23 -03:00
2012-11-15 17:20:57 -08:00
2012-08-10 12:55:47 -07:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:43:26 -08:00
2012-11-21 15:25:06 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:27:46 -08:00
2012-11-15 17:20:58 -08:00