]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: ld9040: replace EFAULT with EINVAL
authorJingoo Han <jg1.han@samsung.com>
Thu, 7 Feb 2013 01:27:21 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:00 +0000 (16:47 +1100)
commitc6be8b6610f4a587b6e516d8fe70c98238b93281
treea6a8cb13ee1218abad0c8efffce411413baea00b
parent268261075589a57c561c356e7314b1b2f4ad2739
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>
drivers/video/backlight/ld9040.c