From: Stefan Hajnoczi Date: Sun, 11 Nov 2012 12:24:44 +0000 (+0100) Subject: staging: line6: replace deprecated strict_strtol() in toneport.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~453 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b07d945227e4e62d93e26c694bf0e7b70978a7d6;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed