include/linux/leds-regulator.h: fix syntax in example code
authorAntonio Ospite <ospite@studenti.unina.it>
Wed, 13 Apr 2011 07:45:45 +0000 (09:45 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 13 Apr 2011 09:11:43 +0000 (11:11 +0200)
Fix struct field initializer syntax in some example code from a comment,
this will make copying and pasting the code more straightforward.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/leds-regulator.h

index 5a8eb38..e2337a8 100644 (file)
@@ -16,7 +16,7 @@
  * Use "vled" as supply id when declaring the regulator consumer:
  *
  * static struct regulator_consumer_supply pcap_regulator_VVIB_consumers [] = {
- *     { .dev_name = "leds-regulator.0", supply = "vled" },
+ *     { .dev_name = "leds-regulator.0", .supply = "vled" },
  * };
  *
  * If you have several regulator driven LEDs, you can append a numerical id to