Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe()
In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Eric Miao <[email protected]> Signed-off-by: Haojian Zhuang <[email protected]>
- Loading branch information