From: Raphael Assenat Date: Sun, 13 Jan 2008 22:55:18 +0000 (+0000) Subject: leds: Fix led-gpio active_low default brightness X-Git-Tag: v2.6.25-rc1~299^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b7f1b8c8f4a8991dfeefc31844e15c642b6de2a;p=pandora-kernel.git leds: Fix led-gpio active_low default brightness When gpio_direction_output() is called, led_dat->active_low is used as default value. This means that the led will always be off by default. cdev.brightness should really have been set to LED_OFF unconditionally to reflect this behavior. Signed-off-by: Raphael Assenat Signed-off-by: Richard Purdie --- Reading git-diff-tree failed