Skip to content
Commit a0640925 authored by Jamie Iles's avatar Jamie Iles Committed by Dmitry Torokhov
Browse files

Input: tnetv107x-keypad - don't treat NULL clk as an error



We should use IS_ERR() when checking whether clk_get() succeeded or
not since it returns errors by encoding error codes with ERR_PTR().

Signed-off-by: default avatarJamie Iles <jamie@jamieiles.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 01c728a2
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