]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/leds/ledtrig-backlight.c
Merge tag 'md-3.8' of git://neil.brown.name/md
[karo-tx-linux.git] / drivers / leds / ledtrig-backlight.c
index b941685f222740970911b5fbbf93161304e76a37..027a2b15d7d873d09b510209bdf95dcf72a45ddd 100644 (file)
@@ -40,7 +40,7 @@ static int fb_notifier_callback(struct notifier_block *p,
        int new_status = *blank ? BLANK : UNBLANK;
 
        switch (event) {
-       case FB_EVENT_BLANK :
+       case FB_EVENT_BLANK:
                if (new_status == n->old_status)
                        break;
 
@@ -76,7 +76,7 @@ static ssize_t bl_trig_invert_store(struct device *dev,
        unsigned long invert;
        int ret;
 
-       ret = strict_strtoul(buf, 10, &invert);
+       ret = kstrtoul(buf, 10, &invert);
        if (ret < 0)
                return ret;