]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: line6: control.c eliminate strict_strtoul() in pod_set_param_int()
authorJohannes Thumshirn <morbidrsa@googlemail.com>
Wed, 27 Jun 2012 19:26:00 +0000 (21:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 23:12:45 +0000 (16:12 -0700)
commit336cab9afa2567fd41d2813d3f0f9249371219cb
treee188e17e5c4c9efa727a4c64406f528924f3505a
parent8d6b7f7c9b3c346f2fef496827c3fbbc2ebef1a9
staging: line6: control.c eliminate strict_strtoul() in pod_set_param_int()

Exchange strict_strtoul() with kstrtou8() and make "value" a u8 instead of a
unsigned long. This is also needed for the changed
line6_pod_transmit_parameter().

Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/line6/control.c