On 09-09-22, 09:47, Wei Yongjun wrote: > From: Wei Yongjun <weiyongjun1 at huawei.com> > > In case of error, the function nvmem_cell_read() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check > should be replaced with IS_ERR(). Applied, thanks -- ~Vinod