Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a0c58dd authored by Harvey Harrison's avatar Harvey Harrison Committed by Dmitry Torokhov
Browse files

Input: ads7846 - strict_strtoul takes unsigned long



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

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 0de048ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;