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

Documentation: ACPI: Fix non-D0 probe _DSC object example

The original patch adding the example used _DSC Name when Method was
intended. Fix this.

Also replace spaces used for indentation with tabs in the example.

Fixes: ed66f12ba4b1 ("Documentation: ACPI: Document _DSC object usage for enum power state")
Reported-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Sakari Ailus and committed by
Rafael J. Wysocki
dff5acfd 1e96078e

+3 -3
+3 -3
Documentation/firmware-guide/acpi/non-d0-probe.rst
··· 62 62 .. code-block:: text 63 63 64 64 Device (CAM0) 65 - { 65 + { 66 66 Name (_HID, "SONY319A") 67 67 Name (_UID, Zero) 68 68 Name (_CRS, ResourceTemplate () ··· 71 71 AddressingMode7Bit, "\\_SB.PCI0.I2C0", 72 72 0x00, ResourceConsumer) 73 73 }) 74 - Name (_DSC, 0, NotSerialized) 74 + Method (_DSC, 0, NotSerialized) 75 75 { 76 76 Return (0x4) 77 - } 77 + } 78 78 }