X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fmisc%2Fbh1780gli.c;h=057580e026c056f7b6ff576d51fbe225db0efd47;hb=618056167059afdf43a36aa9db40e51a6482797d;hp=818f3a0e62bf9516ece432a11f994cfb0eb1e11a;hpb=aad760136537fdfa10e5ac76bd3c79bde2100863;p=~andy%2Flinux diff --git a/drivers/misc/bh1780gli.c b/drivers/misc/bh1780gli.c index 818f3a0e62b..057580e026c 100644 --- a/drivers/misc/bh1780gli.c +++ b/drivers/misc/bh1780gli.c @@ -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;