summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/autoport/ec_fixme.go4
-rw-r--r--util/autoport/ec_lenovo.go8
-rw-r--r--util/autoport/ec_none.go6
3 files changed, 9 insertions, 9 deletions
diff --git a/util/autoport/ec_fixme.go b/util/autoport/ec_fixme.go
index f54bb1ac50..f5d039cac4 100644
--- a/util/autoport/ec_fixme.go
+++ b/util/autoport/ec_fixme.go
@@ -20,10 +20,10 @@ func FIXMEEC(ctx Context) {
}
ap.WriteString(
- `Method(_WAK,1)
+ `Method(_WAK, 1)
{
/* FIXME: EC support */
- Return(Package(){0,0})
+ Return(Package() {0, 0})
}
Method(_PTS,1)
diff --git a/util/autoport/ec_lenovo.go b/util/autoport/ec_lenovo.go
index 9384896dc8..e847e76eb8 100644
--- a/util/autoport/ec_lenovo.go
+++ b/util/autoport/ec_lenovo.go
@@ -40,12 +40,12 @@ func LenovoEC(ctx Context) {
}, GPEDefine)
ap.WriteString(
- `Method(_WAK,1)
+ `Method(_WAK, 1)
{
/* ME may not be up yet. */
- Store (0, \_TZ.MEB1)
- Store (0, \_TZ.MEB2)
- Return(Package(){0,0})
+ Store(0, \_TZ.MEB1)
+ Store(0, \_TZ.MEB2)
+ Return(Package() {0, 0})
}
Method(_PTS,1)
diff --git a/util/autoport/ec_none.go b/util/autoport/ec_none.go
index 9158734777..eb2b87c2ed 100644
--- a/util/autoport/ec_none.go
+++ b/util/autoport/ec_none.go
@@ -5,12 +5,12 @@ func NoEC(ctx Context) {
defer ap.Close()
ap.WriteString(
- `Method(_WAK,1)
+ `Method(_WAK, 1)
{
- Return(Package(){0,0})
+ Return(Package() {0, 0})
}
-Method(_PTS,1)
+Method(_PTS, 1)
{
}
`)