Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Antonio Ospite and committed by
Jiri Kosina
edb2fd95 f98e5b80

+1 -1
+1 -1
include/linux/leds-regulator.h
··· 16 16 * Use "vled" as supply id when declaring the regulator consumer: 17 17 * 18 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 22 * If you have several regulator driven LEDs, you can append a numerical id to