staging: fbtft: propagate error code from kstrto*()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2017 10:45:43 +0000 (12:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 11:50:27 +0000 (12:50 +0100)
commit09142c17daed255710bd4d9813d1f89f551a8e10
tree2b1d7cba77aa5324bc1528a38e2f53aee0895d8b
parent7c3eaadd0209fe21f331600ea2d904c3a0e9b287
staging: fbtft: propagate error code from kstrto*()

kstrto*() functions return proper error code.

Do propogate it to the user.

Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-sysfs.c