Skip to content
Commit c7ba9f7c authored by zhong jiang's avatar zhong jiang Committed by Thomas Gleixner
Browse files

x86/platform/olpc: Use PTR_ERR_OR_ZERO()



Replace the open coded equivalent with PTR_ERR_OR_ZERO().

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1533053286-34990-1-git-send-email-zhongjiang@huawei.com
parent 24cfd8ca
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