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:
Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Loading
Please register or sign in to comment