diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-10-29 05:37:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 16:06:08 -0400 |
commit | 487c151a4a8fd1ab68308102c215158c14ad7c23 (patch) | |
tree | 833673cd3a8eb9f850cd10b320aa51b672c6705d /drivers/usb/serial | |
parent | f2ec522e78ef5cdc12d1dbecf254cdf31eb2b6d3 (diff) |
USB: iuu_phoenix: replace strict_strtoul() with kstrtoul()
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/iuu_phoenix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index cd5533e81de7..99029ca850cf 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c | |||
@@ -1164,7 +1164,7 @@ static ssize_t store_vcc_mode(struct device *dev, | |||
1164 | struct iuu_private *priv = usb_get_serial_port_data(port); | 1164 | struct iuu_private *priv = usb_get_serial_port_data(port); |
1165 | unsigned long v; | 1165 | unsigned long v; |
1166 | 1166 | ||
1167 | if (strict_strtoul(buf, 10, &v)) { | 1167 | if (kstrtoul(buf, 10, &v)) { |
1168 | dev_err(dev, "%s - vcc_mode: %s is not a unsigned long\n", | 1168 | dev_err(dev, "%s - vcc_mode: %s is not a unsigned long\n", |
1169 | __func__, buf); | 1169 | __func__, buf); |
1170 | goto fail_store_vcc_mode; | 1170 | goto fail_store_vcc_mode; |