backlight: ams369fg06: replace EFAULT with EINVAL
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:43:29 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:22 +0000 (17:22 -0800)
commit1d7976b24d11f1ba971b95382735b300be80f3df
tree34ee245520ea604e2ff6784a9fd0fbd53dec9e28
parent66ecc11dfc3c9b47f9f78b7455c3d498329e891a
backlight: ams369fg06: replace EFAULT with EINVAL

Replace EFAULT with EINVAL, because EFAULT tends to be for the invalid
memory addresses.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/ams369fg06.c