linux/drivers/leds
Sven Wegener dd8e5a2039 leds: Remove uneeded strlen calls
There's no need for the additional call to strlen(), we can directly
return the value returned by sprintf().  We now return a length value
that doesn't include the final '\0', but user space shouldn't bother
about it anyway.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-10-20 22:37:04 +01:00
..
Kconfig leds: Add backlight LED trigger 2008-10-20 22:34:12 +01:00
led-class.c leds: Remove uneeded strlen calls 2008-10-20 22:37:04 +01:00
led-core.c
led-triggers.c
leds-ams-delta.c
leds-atmel-pwm.c
leds-clevo-mail.c
leds-cm-x270.c
leds-cobalt-qube.c
leds-cobalt-raq.c
leds-da903x.c leds: da903x: Add support for LEDs found on DA9030/DA9034 2008-10-20 22:34:11 +01:00
leds-fsg.c
leds-gpio.c
leds-h1940.c
leds-hp6xx.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
leds-locomo.c
leds-net48xx.c
leds-pca955x.c
leds-pca9532.c
leds-s3c24xx.c
leds-sunfire.c
leds-wrap.c leds: Add leds-wrap default-trigger 2008-10-20 22:36:03 +01:00
leds.h
ledtrig-backlight.c leds: Add backlight LED trigger 2008-10-20 22:34:12 +01:00
ledtrig-default-on.c
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c leds: Remove uneeded strlen calls 2008-10-20 22:37:04 +01:00
Makefile leds: Add backlight LED trigger 2008-10-20 22:34:12 +01:00