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 leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
led-triggers.c leds: Ensure led->trigger is set earlier 2008-07-23 09:49:56 +01:00
leds-ams-delta.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-atmel-pwm.c leds: fix unsigned value overflow in atmel pwm driver 2008-07-23 09:49:56 +01:00
leds-clevo-mail.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-cm-x270.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-cobalt-qube.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-cobalt-raq.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
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-fsg: change order of initialization and deinitialization 2008-10-03 18:22:18 -07:00
leds-gpio.c leds: enable support for blink_set() platform hook in leds-gpio 2008-04-24 23:37:42 +01:00
leds-h1940.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-hp6xx.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
leds-locomo.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-net48xx.c leds: Standardise LED naming scheme 2008-02-07 09:47:00 +00:00
leds-pca955x.c leds-pca955x: add proper error handling and fix bogus memory handling 2008-10-03 18:22:18 -07:00
leds-pca9532.c leds: Add pca9532 led driver 2008-07-23 09:49:56 +01:00
leds-s3c24xx.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-sunfire.c leds: Add driver for Sunfire UltraSPARC server LEDs. 2008-08-31 20:26:48 -07:00
leds-wrap.c leds: Add leds-wrap default-trigger 2008-10-20 22:36:03 +01:00
leds.h leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
ledtrig-backlight.c leds: Add backlight LED trigger 2008-10-20 22:34:12 +01:00
ledtrig-default-on.c leds: Add default-on trigger 2008-04-25 00:06:52 +01:00
ledtrig-heartbeat.c [PATCH] LED: add LED heartbeat trigger 2006-06-25 10:01:23 -07:00
ledtrig-ide-disk.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
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