From: Shuah Khan Date: Tue, 29 May 2012 22:07:26 +0000 (-0700) Subject: leds: simple_strtoul() cleanup X-Git-Tag: v3.5-rc1~49^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=872b86be0a285b11b03614456b67fdaf78e86f3d;p=pandora-kernel.git leds: simple_strtoul() cleanup led-class.c and ledtrig-timer.c still use simple_strtoul(). Change them to use kstrtoul() instead of obsolete simple_strtoul(). Also fix the existing int ret declaration to be ssize_t to match the return type for _store functions in ledtrig-timer.c. Signed-off-by: Shuah Khan Cc: Joe Perches Cc: Richard Purdie Cc: Bryan Wu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed