Sfoglia il codice sorgente

leds: Futher document blink_set

Futher document blink_set function pointer

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie 16 anni fa
parent
commit
a1dd8c6172
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      include/linux/leds.h

+ 2 - 1
include/linux/leds.h

@@ -47,7 +47,8 @@ struct led_classdev {
 
 	/* Activate hardware accelerated blink, delays are in
 	 * miliseconds and if none is provided then a sensible default
-	 * should be chosen. */
+	 * should be chosen. The call can adjust the timings if it can't
+	 * match the values specified exactly. */
 	int		(*blink_set)(struct led_classdev *led_cdev,
 				     unsigned long *delay_on,
 				     unsigned long *delay_off);