backlight: s6e63m0: replace EFAULT with EINVAL
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:43:24 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:22 +0000 (17:22 -0800)
commit81c650e3accca9ca20232e96058aa759ceae06a5
tree5d5729900fd38f9e3d90b7dfea20779f74f7eb92
parent892dc2e6603034188f51b30e702498a51d8c7365
backlight: s6e63m0: 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/s6e63m0.c