]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: simplify acpi_write_ssdt()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 18 Nov 2023 21:52:37 +0000 (22:52 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 23:39:05 +0000 (18:39 -0500)
commitfef4896dc8a4479a6197c0057edde9d2d8c6dbac
treeada6cf250081e976285825dae696e57fa9888831
parentc7b31a9ad5f596ff28f34d517caf316e9ead1539
acpi: simplify acpi_write_ssdt()

* Converting to void * is superfluous when calling memset().
* acpi_fill_header() already fills oem_table_id.

Fixes: d953137526cc ("x86: Move SSDT table to a writer function")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/acpi/ssdt.c