Input: ads7846 - strict_strtoul takes unsigned long

Fix sparse warning introduced by:
commit 160f1fef7e Input: convert drivers to use strict_strtoul()

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Harvey Harrison 2008-12-23 04:09:28 -05:00 committed by Dmitry Torokhov
parent 0de048aba1
commit 3a0c58ddcd

View 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;