misc: hwmutex: use IS_ERR and PTR_ERR to check for error
devm_ioremap_resource returns a pointer to the remapped
memory or an ERR_PTR() encoded error code on failure.
Signed-off-by:
Ley Foon Tan <lftan@altera.com>
parent
30e26b0f
Please register or sign in to comment