mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
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>
This commit is contained in:
parent
a889e50ea0
commit
01399a994b
@ -154,7 +154,7 @@ Here is what the ACPI namespace for a SPI slave might look like::
|
||||
Device (EEP0)
|
||||
{
|
||||
Name (_ADR, 1)
|
||||
Name (_CID, Package() {
|
||||
Name (_CID, Package () {
|
||||
"ATML0025",
|
||||
"AT25",
|
||||
})
|
||||
@ -326,8 +326,8 @@ For example::
|
||||
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
||||
Package ()
|
||||
{
|
||||
Package () {"power-gpios", Package() {^DEV, 0, 0, 0 }},
|
||||
Package () {"irq-gpios", Package() {^DEV, 1, 0, 0 }},
|
||||
Package () { "power-gpios", Package () { ^DEV, 0, 0, 0 } },
|
||||
Package () { "irq-gpios", Package () { ^DEV, 1, 0, 0 } },
|
||||
}
|
||||
})
|
||||
...
|
||||
@ -449,10 +449,10 @@ namespace link::
|
||||
Device (TMP0)
|
||||
{
|
||||
Name (_HID, "PRP0001")
|
||||
Name (_DSD, Package() {
|
||||
Name (_DSD, Package () {
|
||||
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
||||
Package () {
|
||||
Package (2) { "compatible", "ti,tmp75" },
|
||||
Package () { "compatible", "ti,tmp75" },
|
||||
}
|
||||
})
|
||||
Method (_CRS, 0, Serialized)
|
||||
|
Loading…
Reference in New Issue
Block a user