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