summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83977tf
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-03-30 16:47:28 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-03-31 16:59:40 +0000
commite8fcf1bf8df1e94f84a15815343660360cd12299 (patch)
tree4022d267a718af8489499bfb651a7f19f878f759 /src/superio/winbond/w83977tf
parent4c0432ae65e522be43a0c03d8a61e689eea0cc1b (diff)
downloadcoreboot-e8fcf1bf8df1e94f84a15815343660360cd12299.tar.xz
superio/winbond: Improve code formatting
Change-Id: Ia63e21b957d89690f36929f9ffbe8a7bf8f0e84c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39932 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/superio/winbond/w83977tf')
-rw-r--r--src/superio/winbond/w83977tf/acpi/superio.asl18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/superio/winbond/w83977tf/acpi/superio.asl b/src/superio/winbond/w83977tf/acpi/superio.asl
index 0a37ac9908..918d1e1398 100644
--- a/src/superio/winbond/w83977tf/acpi/superio.asl
+++ b/src/superio/winbond/w83977tf/acpi/superio.asl
@@ -67,9 +67,9 @@ IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
OPT1, 8
}
-#define PNP_ENTER_MAGIC_1ST 0x87
-#define PNP_ENTER_MAGIC_2ND 0x87
-#define PNP_EXIT_MAGIC_1ST 0xaa
+#define PNP_ENTER_MAGIC_1ST 0x87
+#define PNP_ENTER_MAGIC_2ND 0x87
+#define PNP_EXIT_MAGIC_1ST 0xaa
#include <superio/acpi/pnp_config.asl>
/* PM: indicate IPD (Immediate Power Down) bit state as D0/D3 */
@@ -84,13 +84,13 @@ Method (_PSC) {
#ifdef SUPERIO_SHOW_FDC
Device (FDC0)
{
- Name (_HID, EisaId ("PNP0700")) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
+ Name (_HID, EisaId ("PNP0700")) // _HID: Hardware ID
+ Method (_STA, 0, NotSerialized) // _STA: Status
{
PNP_GENERIC_STA(W83977TF_FDC)
}
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
+ Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
{
PNP_GENERIC_DIS(W83977TF_FDC)
}
@@ -300,7 +300,7 @@ Device (ECP)
Return (BUF6)
}
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
+ Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
{
StartDependentFn (0x01, 0x01)
{
@@ -326,7 +326,7 @@ Device (ECP)
EndDependentFn ()
})
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
+ Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
{
CreateByteField (Arg0, 0x02, IOLO)
CreateByteField (Arg0, 0x03, IOHI)
@@ -366,5 +366,5 @@ Device (ECP)
*/
#define SUPERIO_KBC_LDN W83977TF_KBC
-#define SUPERIO_KBC_PS2M /* Mouse shares same LDN */
+#define SUPERIO_KBC_PS2M /* Mouse shares same LDN */
#include <superio/acpi/pnp_kbc.asl>