Input: tnetv107x-keypad - don't treat NULL clk as an error
authorJamie Iles <jamie@jamieiles.com>
Tue, 18 Jan 2011 04:40:32 +0000 (20:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 18 Jan 2011 04:49:02 +0000 (20:49 -0800)
commita0640925880a5801ae0aac232fae6900a2c44b27
treec89dd02d1b9af89c53e3bdb30f30b95740a7cf0c
parent01c728a246a1072fe9664b91179a47937182b0a0
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: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/tnetv107x-keypad.c