diff options
author | Johannes Thumshirn <morbidrsa@googlemail.com> | 2012-06-27 21:25:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-06 16:12:44 -0700 |
commit | 1383ec4dad392a1c316820e9afb27b5fb95a6f57 (patch) | |
tree | c5e00c5347f25e77cdf3389dd8c9edc86f6bf00c /drivers | |
parent | 2471c0933988eede8040d58cefd6be4fbef9c057 (diff) |
staging: line6: Changed some strict_strtouls to kstrtou8
Adjusted strict_strtoul calls to kstrtou8 in order to take the changes of
line6_transmit_parameter() into account.
Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/line6/variax.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/line6/variax.c b/drivers/staging/line6/variax.c index d36622228b2..bb99ee4919e 100644 --- a/drivers/staging/line6/variax.c +++ b/drivers/staging/line6/variax.c @@ -319,10 +319,10 @@ static ssize_t variax_set_volume(struct device *dev, { struct usb_line6_variax *variax = usb_get_intfdata(to_usb_interface(dev)); - unsigned long value; + u8 value; int ret; - ret = strict_strtoul(buf, 10, &value); + ret = kstrtou8(buf, 10, &value); if (ret) return ret; @@ -418,10 +418,10 @@ static ssize_t variax_set_tone(struct device *dev, { struct usb_line6_variax *variax = usb_get_intfdata(to_usb_interface(dev)); - unsigned long value; + u8 value; int ret; - ret = strict_strtoul(buf, 10, &value); + ret = kstrtou8(buf, 10, &value); if (ret) return ret; |