Skip to content
Commit 3eadbb78 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Dom Cobley
Browse files

media: ov64a40: Better check for error on clk_get()



The clk_get() function returns "a valid IS_ERR() condition with
corresponding errno". Use the IS_ERR() macro insted of just checking
for the pointer not being NULL.

Signed-off-by: default avatarJacopo Mondi <jacopo.mondi@ideasonboard.com>
parent a3e618d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment