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

misc: sysid: 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 e285c21e
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