Skip to content

Commit

Permalink
leds: Further document parameters for blink_set()
Browse files Browse the repository at this point in the history
The documentation for the parameters of blink_set() was a bit hard
to find so put some where I'd expected to find it.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
  • Loading branch information
Mark Brown authored and Richard Purdie committed Jun 23, 2009
1 parent 2216c6e commit 92722b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/linux/leds.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ struct led_classdev {
/* Get LED brightness level */
enum led_brightness (*brightness_get)(struct led_classdev *led_cdev);

/* Activate hardware accelerated blink */
/* Activate hardware accelerated blink, delays are in
* miliseconds and if none is provided then a sensible default
* should be chosen. */
int (*blink_set)(struct led_classdev *led_cdev,
unsigned long *delay_on,
unsigned long *delay_off);
Expand Down

0 comments on commit 92722b1

Please sign in to comment.