diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2011-04-13 03:45:45 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-04-13 05:11:43 -0400 |
commit | edb2fd9524cc2a55fb5a2e878b6e4e83f9e63fd0 (patch) | |
tree | 0c3ed90413f074f81daf0cf04a3f960f07b4e024 /include | |
parent | f98e5b80add20ec20b9a3e450c3378eb9a163848 (diff) |
include/linux/leds-regulator.h: fix syntax in example code
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/leds-regulator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/leds-regulator.h b/include/linux/leds-regulator.h index 5a8eb389aab8..e2337a8c90b0 100644 --- a/include/linux/leds-regulator.h +++ b/include/linux/leds-regulator.h | |||
@@ -16,7 +16,7 @@ | |||
16 | * Use "vled" as supply id when declaring the regulator consumer: | 16 | * Use "vled" as supply id when declaring the regulator consumer: |
17 | * | 17 | * |
18 | * static struct regulator_consumer_supply pcap_regulator_VVIB_consumers [] = { | 18 | * static struct regulator_consumer_supply pcap_regulator_VVIB_consumers [] = { |
19 | * { .dev_name = "leds-regulator.0", supply = "vled" }, | 19 | * { .dev_name = "leds-regulator.0", .supply = "vled" }, |
20 | * }; | 20 | * }; |
21 | * | 21 | * |
22 | * If you have several regulator driven LEDs, you can append a numerical id to | 22 | * If you have several regulator driven LEDs, you can append a numerical id to |