summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-03-20 19:59:50 +0100
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-03-20 19:59:50 +0100
commit44e8ba93cf330f075178e31759100f367313790a (patch)
tree27956beb159bfb603d672b43cb207690a087dd0a /drivers/video
parentMerge branch 'for-3.4' of git://gitorious.org/linux-omap-dss2/linux into fbde... (diff)
parentLinux 3.3 (diff)
downloadlinux-44e8ba93cf330f075178e31759100f367313790a.tar.xz
linux-44e8ba93cf330f075178e31759100f367313790a.zip
Merge commit 'v3.3' into fbdev-next
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/s6e63m0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c
index e132157d8545..516db703dd24 100644
--- a/drivers/video/backlight/s6e63m0.c
+++ b/drivers/video/backlight/s6e63m0.c
@@ -690,7 +690,7 @@ static ssize_t s6e63m0_sysfs_store_gamma_mode(struct device *dev,
struct backlight_device *bd = NULL;
int brightness, rc;
- rc = strict_strtoul(buf, 0, (unsigned long *)&lcd->gamma_mode);
+ rc = kstrtouint(buf, 0, &lcd->gamma_mode);
if (rc < 0)
return rc;