commit | ee4fec5f44a2c0f59327748217319f78e49b90a7 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Thu Jul 07 02:08:38 2016 +0000 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon Aug 08 12:12:29 2016 +0200 |
tree | 1e982eebf2e6412c1cc45af92e5e6a56f22be1f4 | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc [diff] |
memory: atmel-ebi: use PTR_ERR_OR_ZERO() to simplify the code Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Generated by coccinelle. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>