From: Johan Hovold Date: Wed, 14 Sep 2011 23:22:16 +0000 (-0700) Subject: drivers/leds/ledtrig-timer.c: fix broken sysfs delay handling X-Git-Tag: v3.1-rc7~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5caabd090b8f7d782c40fc1c048d798f2b6fd7;p=pandora-kernel.git drivers/leds/ledtrig-timer.c: fix broken sysfs delay handling Fix regression introduced by commit 5ada28bf7675 ("led-class: always implement blinking") which broke sysfs delay handling by not storing the updated value. Consequently it was only possible to set one of the delays through the sysfs interface as the other delay was automatically restored to it's default value. Reading the parameters always gave the defaults. Signed-off-by: Johan Hovold Acked-by: Florian Fainelli Acked-by: Richard Purdie Cc: [2.6.37+] Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed