Commit d22eb66b authored by Axel Lin's avatar Axel Lin Committed by Stephen Boyd
Browse files

clk: scpi: Fix checking return value of platform_device_register_simple()



platform_device_register_simple() returns ERR_PTR on error.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 1ce133ec
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