Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f54367f9 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Linus Walleij
Browse files

Documentation/pinctrl: fix a few syntax errors in code examples

parent 546edd83
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -857,42 +857,41 @@ case), we define a mapping like this:

...
{
	.name "2bit"
	.name = "2bit"
	.ctrl_dev_name = "pinctrl-foo",
	.function = "mmc0",
	.group = "mmc0_1_grp",
	.dev_name = "foo-mmc.0",
},
{
	.name "4bit"
	.name = "4bit"
	.ctrl_dev_name = "pinctrl-foo",
	.function = "mmc0",
	.group = "mmc0_1_grp",
	.dev_name = "foo-mmc.0",
},
{
	.name "4bit"
	.name = "4bit"
	.ctrl_dev_name = "pinctrl-foo",
	.function = "mmc0",
	.group = "mmc0_2_grp",
	.dev_name = "foo-mmc.0",
},
{
	.name "8bit"
	.name = "8bit"
	.ctrl_dev_name = "pinctrl-foo",
	.function = "mmc0",
	.group = "mmc0_1_grp",
	.dev_name = "foo-mmc.0",
},
{
	.name "8bit"
	.name = "8bit"
	.ctrl_dev_name = "pinctrl-foo",
	.function = "mmc0",
	.group = "mmc0_2_grp",
	.dev_name = "foo-mmc.0",
},
{
	.name "8bit"
	.name = "8bit"
	.ctrl_dev_name = "pinctrl-foo",
	.function = "mmc0",
	.group = "mmc0_3_grp",
@@ -995,7 +994,7 @@ This is enabled by simply setting the .hog_on_boot field in the map to true,
like this:

{
	.name "POWERMAP"
	.name = "POWERMAP"
	.ctrl_dev_name = "pinctrl-foo",
	.function = "power_func",
	.hog_on_boot = true,