Skip to content

Commit

Permalink
leds: Document the context brightness_set needs
Browse files Browse the repository at this point in the history
Make sure there is no confusion about the contexts brightness_set
can be called under by documenting it.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
  • Loading branch information
Richard Purdie committed Apr 24, 2008
1 parent 3b2e46f commit 2e214e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/leds.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2e214e0

Please sign in to comment.