Wei Yongjun 76cc43868c tty: of_serial: fix return value check in of_platform_serial_setup()
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01 08:50:01 -07:00
..
2012-09-05 13:28:35 -07:00
2012-08-13 16:50:19 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2012-08-10 12:55:47 -07:00
2012-08-13 16:50:19 -07:00
2012-08-13 16:50:19 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2012-10-22 16:58:28 -07:00