commit | c430cf376fee0b03d9c9293615f9737649de1b12 | [log] [tgz] |
---|---|---|
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | Thu May 05 17:50:49 2016 +0530 |
committer | Jassi Brar <jaswinder.singh@linaro.org> | Sun May 08 22:44:46 2016 +0530 |
tree | 17f244075d59c9dbc9fd59d84df2a41abd5d1f8f | |
parent | dd28216528cf67339cd4f5854166fbd4eefd7fa8 [diff] |
mailbox: Fix devm_ioremap_resource error detection code 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>