[PATCH 6/8] staging: line6: replace deprecated strict_strtol() in toneport.c

2012-11-11 Thread Stefan Hajnoczi
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 --- drivers/staging/line6/toneport.c | 8

[PATCH 6/8] staging: line6: replace deprecated strict_strtol() in toneport.c

2012-11-11 Thread Stefan Hajnoczi
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 stefa...@gmail.com ---