From: Jingoo Han Date: Tue, 18 Dec 2012 00:01:10 +0000 (-0800) Subject: drivers/video/backlight/lcd.c: return ENXIO when ops functions cannot be called X-Git-Tag: v3.8-rc1~74^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=424e06e3da2cbf986d7421f98b90fe5cf4b57be5;p=pandora-kernel.git drivers/video/backlight/lcd.c: return ENXIO when ops functions cannot be called Previously, when ops functions cannot be called, lcd_show_contrast() and lcd_store_contrast() returned 0, instead of ENXIO. Thus, in this case, a local variable 'rc' for return value should be initialized as ENXIO, after kstrtoul() is called. Signed-off-by: Jingoo Han Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed