summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/uacpi
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-08-26 18:54:31 +0000
committerIan Moffett <ian@osmora.org>2025-08-26 18:55:31 +0000
commite8414b96ba94dbc761ee97d7a67b7a28cfc3a8af (patch)
tree31264552547d8974a6f3a646efba4e0e29f46012 /sys/dev/acpi/uacpi
parent996114589d036918f77036ece745249b35687da0 (diff)
kernel: style: Clean up and remove extra newlinesexpt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/acpi/uacpi')
-rw-r--r--sys/dev/acpi/uacpi/event.c1
-rw-r--r--sys/dev/acpi/uacpi/resources.c1
-rw-r--r--sys/dev/acpi/uacpi/tables.c1
-rw-r--r--sys/dev/acpi/uacpi/utilities.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/acpi/uacpi/event.c b/sys/dev/acpi/uacpi/event.c
index 0c58372..62412ac 100644
--- a/sys/dev/acpi/uacpi/event.c
+++ b/sys/dev/acpi/uacpi/event.c
@@ -1054,7 +1054,6 @@ static uacpi_status create_gpe_block(
*/
reg->base_idx = base_idx + (i * EVENTS_PER_GPE_REGISTER);
-
tmp_gas.address = address + i;
ret = uacpi_map_gas_noalloc(&tmp_gas, &reg->status);
if (uacpi_unlikely_error(ret))
diff --git a/sys/dev/acpi/uacpi/resources.c b/sys/dev/acpi/uacpi/resources.c
index a9bcb82..f1a25ec 100644
--- a/sys/dev/acpi/uacpi/resources.c
+++ b/sys/dev/acpi/uacpi/resources.c
@@ -602,7 +602,6 @@ static uacpi_size aml_size_for_serial_connection(
#define ARG1(value) .f2.arg1 = (value)
#define ARG2(value) .f3.arg2 = (value)
-
static const struct uacpi_resource_convert_instruction convert_irq_to_native[] = {
OP(PACKED_ARRAY_16, AML_F(irq, irq_mask), NATIVE_F(irq, irqs),
ARG2(NATIVE_O(irq, num_irqs))),
diff --git a/sys/dev/acpi/uacpi/tables.c b/sys/dev/acpi/uacpi/tables.c
index df7d7b9..3314fd1 100644
--- a/sys/dev/acpi/uacpi/tables.c
+++ b/sys/dev/acpi/uacpi/tables.c
@@ -1211,7 +1211,6 @@ static void gas_init_system_io(
gas->access_size = 0;
}
-
struct register_description {
uacpi_size offset, xoffset;
uacpi_size length_offset;
diff --git a/sys/dev/acpi/uacpi/utilities.c b/sys/dev/acpi/uacpi/utilities.c
index c7ca20a..059c574 100644
--- a/sys/dev/acpi/uacpi/utilities.c
+++ b/sys/dev/acpi/uacpi/utilities.c
@@ -963,7 +963,6 @@ static uacpi_iteration_decision find_one_device(
return ctx->cb(ctx->user, node, depth);
}
-
uacpi_status uacpi_find_devices_at(
uacpi_namespace_node *parent, const uacpi_char *const *hids,
uacpi_iteration_callback cb, void *user