diff options
author | Stefan Hajnoczi <stefanha@gmail.com> | 2012-11-11 13:24:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 13:17:40 -0800 |
commit | b07d945227e4e62d93e26c694bf0e7b70978a7d6 (patch) | |
tree | 66908da1b6437424b8e08c94744605eec26fc8a2 /drivers/staging/line6/usbdefs.h | |
parent | 6a8ec8769d4613a5fbd981bfb3e5925b29d4140d (diff) |
staging: line6: replace deprecated strict_strtol() in toneport.c
The LED value is an int, so replace strict_strtol() with kstrtoint().
It's safe to pass in the actual variable instead of a local temporary
because strto*() doesn't write to the result unless the function returns
success.
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/usbdefs.h')
0 files changed, 0 insertions, 0 deletions