devm_ioremap_resource returns an ERR_PTR value, not NULL, on failure. The Coccinelle semantic patch used to make this change is as follows: @@ expression e,e1; statement S; @@ *e = devm_ioremap_resource(...); if (!e1) S Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
arm_mhu.c | ||
bcm2835-mailbox.c | ||
hi6220-mailbox.c | ||
mailbox-altera.c | ||
mailbox-sti.c | ||
mailbox-test.c | ||
mailbox-xgene-slimpro.c | ||
mailbox.c | ||
mailbox.h | ||
omap-mailbox.c | ||
pcc.c | ||
pl320-ipc.c | ||
rockchip-mailbox.c | ||
ti-msgmgr.c |