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:
Ley Foon Tan <lftan@altera.com>
parent
e285c21e
Please register or sign in to comment