]> Pileus Git - ~andy/linux/blobdiff - drivers/misc/bh1780gli.c
Merge remote-tracking branch 'asoc/topic/component' into asoc-next
[~andy/linux] / drivers / misc / bh1780gli.c
index 818f3a0e62bf9516ece432a11f994cfb0eb1e11a..057580e026c056f7b6ff576d51fbe225db0efd47 100644 (file)
@@ -107,7 +107,7 @@ static ssize_t bh1780_store_power_state(struct device *dev,
        unsigned long val;
        int error;
 
-       error = strict_strtoul(buf, 0, &val);
+       error = kstrtoul(buf, 0, &val);
        if (error)
                return error;