Skip to contentSkip to conversation

leds: Further document parameters for blink_set()

PATCH New Mark Brown 1 participant 1 message Jun 17, 2009 LED

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH v2 1/1 leds: Further document parameters for blink_set()

The documentation for the parameters of blink_set() was a bit hard to find so put some where I'd expected to find it.

---

Fixed the spelling of milliseconds.

 include/linux/leds.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
include/linux/leds.h +3 -1
index 376fe07..bab4af1 100644
@@ -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
+	 * milliseconds 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);
Signature · 1 line
1.6.3.1