Re: [PATCH v2] leds: simple_strtoul-cleanup

From: Shuah Khan
Date: Mon Apr 09 2012 - 12:11:07 EST


led-class.c and ledtri-timer.c still use simple_strtoul().
Change leds to use kstrtoul() instead of obsolete simple_strtoul().

This patch version addresses Joe's review comment. Added returning -EINVAL
in error paths back in. Also fixed existing int ret declaration to be ssize_t
to match the return type for _store functions in ledtrig-timer.c