mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
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>
This commit is contained in:
parent
f98e5b80ad
commit
edb2fd9524
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user