diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-12-23 10:09:28 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-12-23 10:36:44 +0100 |
commit | 3a0c58ddcd4f0edb37d6008db2a33c9756ec916c (patch) | |
tree | f475c7cbf87118a98bd1070856564cc51e07a94c /drivers | |
parent | Input: make some variables and functions static (diff) | |
download | linux-3a0c58ddcd4f0edb37d6008db2a33c9756ec916c.tar.xz linux-3a0c58ddcd4f0edb37d6008db2a33c9756ec916c.zip |
Input: ads7846 - strict_strtoul takes unsigned long
Fix sparse warning introduced by:
commit 160f1fef7e52e974489b3c70fbd4e094c06965c2 Input: convert drivers to use strict_strtoul()
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-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, 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; |