On Wed, Jul 06, 2016 at 12:18:34PM +0000, weiyj_lk@163.com wrote: > From: Wei Yongjun > > In case of error, the functions clk_register_composite() and > clk_register_divider() 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 Applied, thanks Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com