With the help of ptr_ret.cocci, I find some place to use PTR_ERR_OR_ZERO directly. zhong jiang (4): bus: ti-sysc: Use PTR_ERR_OR_ZERO rather than its implementation misc: mic: Use PTR_ERR_OR_ZERO rather than its implementation phy: tegra: Use PTR_ERR_OR_ZERO rather than its implementation rtc: ds1347: Use PTR_ERR_OR_ZERO rather than its implementation drivers/bus/ti-sysc.c | 4 +--- drivers/misc/mic/scif/scif_epd.h | 5 ++--- drivers/phy/tegra/phy-tegra194-p2u.c | 4 +--- drivers/rtc/rtc-ds1347.c | 5 +---- 4 files changed, 5 insertions(+), 13 deletions(-) -- 1.7.12.4