Input: ads7846 - strict_strtoul takes unsigned long
[pandora-kernel.git] / drivers / input / touchscreen / ads7846.c
index 6017ea6..d0004dc 100644 (file)
@@ -472,7 +472,7 @@ static ssize_t ads7846_disable_store(struct device *dev,
                                     const char *buf, size_t count)
 {
        struct ads7846 *ts = dev_get_drvdata(dev);
-       long i;
+       unsigned long i;
 
        if (strict_strtoul(buf, 10, &i))
                return -EINVAL;