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

Commit 2e214e0f authored by Richard Purdie's avatar Richard Purdie
Browse files

leds: Document the context brightness_set needs



Make sure there is no confusion about the contexts brightness_set
can be called under by documenting it.

Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent 3b2e46f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ struct led_classdev {
#define LED_SUSPENDED		(1 << 0)

	/* Set LED brightness level */
	/* Must not sleep, use a workqueue if needed */
	void		(*brightness_set)(struct led_classdev *led_cdev,
					  enum led_brightness brightness);
	/* Get LED brightness level */