Skip to contentSkip to conversation

ACPI: docs: enumeration: Unify Package () for properties (part 2)

PATCH Applied Andy Shevchenko 2 participants 2 messages Apr 13, 2022 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: docs: enumeration: Unify Package () for properties (part 2)

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

---
 Documentation/firmware-guide/acpi/enumeration.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/firmware-guide/acpi/enumeration.rst +1 -2
index 47fb4d6d4557..6b62425ef9cd 100644
@@ -167,8 +167,7 @@ The table below shows an example of its usage::
         Name (_DSD, Package () {
             ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
             Package () {
-                Package () {"interrupt-names",
-                Package (2) {"default", "alert"}},
+                Package () { "interrupt-names", Package () { "default", "alert" } },
             }
         ...
         })
Signature · 1 line
2.35.1
maintainer Applied
#1 lore raw
Quoted 16 lines · Andy Shevchenko

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

---
 Documentation/firmware-guide/acpi/enumeration.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/firmware-guide/acpi/enumeration.rst +0 -0
index 47fb4d6d4557..6b62425ef9cd 100644

Documentation/firmware-guide/acpi/enumeration.rst The table below shows an example of its usage::

Quoted 10 lines
Documentation/firmware-guide/acpi/enumeration.rst +1 -3
@@ -167,8 +167,7 @@ The table below shows an example of its usage::
         Name (_DSD, Package () {
             ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
             Package () {
-                Package () {"interrupt-names",
-                Package (2) {"default", "alert"}},
+                Package () { "interrupt-names", Package () { "default", "alert" } },
             }
...
         })
--

Applied as 5.19 material, thanks!