From 2b7f1b8c8f4a8991dfeefc31844e15c642b6de2a Mon Sep 17 00:00:00 2001 From: Raphael Assenat Date: Sun, 13 Jan 2008 22:55:18 +0000 Subject: [PATCH] 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-format-patch failed