diff --git a/[refs] b/[refs] index 942fe762321a..33dc29051eaa 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d87c3f057922e616c0449aac518da200355c84e9 +refs/heads/master: ff9c351f96168a90d5a8239c350b565059e68be1 diff --git a/trunk/drivers/misc/apds990x.c b/trunk/drivers/misc/apds990x.c index 0e67f8263cd8..1efb6a4ea397 100644 --- a/trunk/drivers/misc/apds990x.c +++ b/trunk/drivers/misc/apds990x.c @@ -700,9 +700,6 @@ static ssize_t apds990x_lux_calib_store(struct device *dev, if (strict_strtoul(buf, 0, &value)) return -EINVAL; - if (chip->lux_calib > APDS_RANGE) - return -EINVAL; - chip->lux_calib = value; return len;