Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7408aff authored by Richard Purdie's avatar Richard Purdie Committed by Russell King
Browse files

[ARM] 3563/1: LED: Set the LOCOMO LED driver default triggers



Patch from Richard Purdie

Set the default triggers for the LOCOMO LED driver.

Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 96ce2385
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -45,11 +45,13 @@ static void locomoled_brightness_set1(struct led_classdev *led_cdev,

static struct led_classdev locomo_led0 = {
	.name			= "locomo:amber",
	.default_trigger	= "sharpsl-charge",
	.brightness_set		= locomoled_brightness_set0,
};

static struct led_classdev locomo_led1 = {
	.name			= "locomo:green",
	.default_trigger	= "nand-disk",
	.brightness_set		= locomoled_brightness_set1,
};