]> Pileus Git - ~andy/linux/blobdiff - drivers/video/wm8505fb.c
genl: Fix genl dumpit() locking.
[~andy/linux] / drivers / video / wm8505fb.c
index 01f9ace068e20e6de2979fb8740a454b699ef73c..3072f30cad1984d23309a2d3430adc2f60d625f8 100644 (file)
@@ -173,7 +173,7 @@ static ssize_t contrast_store(struct device *dev,
        struct wm8505fb_info *fbi = to_wm8505fb_info(info);
        unsigned long tmp;
 
-       if (strict_strtoul(buf, 10, &tmp) || (tmp > 0xff))
+       if (kstrtoul(buf, 10, &tmp) || (tmp > 0xff))
                return -EINVAL;
        fbi->contrast = tmp;