Commit e285c21e authored by Ley Foon Tan's avatar Ley Foon Tan Committed by Dinh Nguyen
Browse files

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: default avatarLey Foon Tan <lftan@altera.com>
parent 30e26b0f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment