Input: edt-ft5x06 - return -EFAULT on copy_to_user() error
authorAxel Lin <axel.lin@gmail.com>
Wed, 19 Sep 2012 22:56:23 +0000 (15:56 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 Sep 2012 23:00:26 +0000 (16:00 -0700)
copy_to_user() returns the number of bytes remaining, but we want a
negative error code here.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found