]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02cc7eade25612da30e5a276192619e23ccb8a79
tree30236851b0e4d82dc52899c1cbeb6899e1bf8889
parente097a2480d84b8190ed7921e8fc4c65f7ddd77dd
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