summaryrefslogtreecommitdiff
path: root/src/ec/apple
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/apple')
-rw-r--r--src/ec/apple/acpi/battery.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/apple/acpi/battery.asl b/src/ec/apple/acpi/battery.asl
index 6d4ab57c63..13761b36e6 100644
--- a/src/ec/apple/acpi/battery.asl
+++ b/src/ec/apple/acpi/battery.asl
@@ -34,7 +34,7 @@ Method(SBPC, 0, NotSerialized)
Method(SBRW, 2, NotSerialized)
{
Acquire(ECLK, 0xFFFF)
- SADR = ShiftLeft(Arg0, 0x01)
+ SADR = Arg0 << 1
SCMD = Arg1
SPTR = 0x09
SBPC()
@@ -46,7 +46,7 @@ Method(SBRW, 2, NotSerialized)
Method(SBRB, 2, NotSerialized)
{
Acquire(ECLK, 0xFFFF)
- SADR = ShiftLeft(Arg0, 0x01)
+ SADR = Arg0 << 1
SCMD = Arg1
SPTR = 0x0B
SBPC()