Skip to content

Commit 01399a9

Browse files
andy-shevrafaeljw
authored andcommitted
ACPI: docs: enumeration: Unify Package () for properties
Unify Package () representation for properties: - make them one line where it's possible - add spaces between parentheses and curly braces - drop the explicit size of package Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent a889e50 commit 01399a9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Documentation/firmware-guide/acpi/enumeration.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Here is what the ACPI namespace for a SPI slave might look like::
154154
Device (EEP0)
155155
{
156156
Name (_ADR, 1)
157-
Name (_CID, Package() {
157+
Name (_CID, Package () {
158158
"ATML0025",
159159
"AT25",
160160
})
@@ -326,8 +326,8 @@ For example::
326326
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
327327
Package ()
328328
{
329-
Package () {"power-gpios", Package() {^DEV, 0, 0, 0 }},
330-
Package () {"irq-gpios", Package() {^DEV, 1, 0, 0 }},
329+
Package () { "power-gpios", Package () { ^DEV, 0, 0, 0 } },
330+
Package () { "irq-gpios", Package () { ^DEV, 1, 0, 0 } },
331331
}
332332
})
333333
...
@@ -449,10 +449,10 @@ namespace link::
449449
Device (TMP0)
450450
{
451451
Name (_HID, "PRP0001")
452-
Name (_DSD, Package() {
452+
Name (_DSD, Package () {
453453
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
454454
Package () {
455-
Package (2) { "compatible", "ti,tmp75" },
455+
Package () { "compatible", "ti,tmp75" },
456456
}
457457
})
458458
Method (_CRS, 0, Serialized)

0 commit comments

Comments
 (0)