diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/ads7846.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index 6017ea6e994e..d0004dc44c86 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c | |||
@@ -472,7 +472,7 @@ static ssize_t ads7846_disable_store(struct device *dev, | |||
472 | const char *buf, size_t count) | 472 | const char *buf, size_t count) |
473 | { | 473 | { |
474 | struct ads7846 *ts = dev_get_drvdata(dev); | 474 | struct ads7846 *ts = dev_get_drvdata(dev); |
475 | long i; | 475 | unsigned long i; |
476 | 476 | ||
477 | if (strict_strtoul(buf, 10, &i)) | 477 | if (strict_strtoul(buf, 10, &i)) |
478 | return -EINVAL; | 478 | return -EINVAL; |