Hi Wei,

Wei Yongjun wrote:
> From: Wei Yongjun <[email protected]>
> 
> 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().
> 
> Signed-off-by: Wei Yongjun <[email protected]>

Reviewed-by: Sakari Ailus <[email protected]>

-- 
Kind regards,

Sakari Ailus
[email protected]
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to