summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/acpi/acpigen.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c
index 7ca4f021dd..ea3ef200a3 100644
--- a/src/acpi/acpigen.c
+++ b/src/acpi/acpigen.c
@@ -476,8 +476,7 @@ void acpigen_write_mutex(const char *name, const uint8_t flags)
{
/* MutexOp */
acpigen_emit_ext_op(MUTEX_OP);
- /* NameString 4 chars only */
- acpigen_emit_simple_namestring(name);
+ acpigen_emit_namestring(name);
acpigen_emit_byte(flags);
}
@@ -485,8 +484,7 @@ void acpigen_write_acquire(const char *name, const uint16_t val)
{
/* AcquireOp */
acpigen_emit_ext_op(ACQUIRE_OP);
- /* NameString 4 chars only */
- acpigen_emit_simple_namestring(name);
+ acpigen_emit_namestring(name);
acpigen_emit_word(val);
}
@@ -494,8 +492,7 @@ void acpigen_write_release(const char *name)
{
/* ReleaseOp */
acpigen_emit_ext_op(RELEASE_OP);
- /* NameString 4 chars only */
- acpigen_emit_simple_namestring(name);
+ acpigen_emit_namestring(name);
}
static void acpigen_write_field_length(uint32_t len)