On Wed, Jul 06, 2016 at 12:21:47PM +0000, weiyj_lk@163.com wrote: > From: Wei Yongjun > > In case of error, the function of_io_request_and_map() 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