Input: tnetv107x-ts - don't treat NULL clk as an error
authorJamie Iles <jamie@jamieiles.com>
Tue, 18 Jan 2011 04:40:55 +0000 (20:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 18 Jan 2011 04:49:07 +0000 (20:49 -0800)
commitba555461833aa1b5083004492ba97c92d5fccf46
treefb7bc2a0934bb209351f6ddca4046e17f56e5cd2
parenta0640925880a5801ae0aac232fae6900a2c44b27
Input: tnetv107x-ts - 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/touchscreen/tnetv107x-ts.c