diff options
author | Simon Glass <sjg@chromium.org> | 2020-04-26 09:19:47 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-04-30 17:16:12 +0800 |
commit | 86e1778ded011051774e20faaefe4b12a838b1a0 (patch) | |
tree | cdf0e908e1f9d3e2ec50187b6f42271984176e8b /include/status_led.h | |
parent | 93f7f82782cb3d2bd55215ce984887efc6cddfed (diff) |
acpi: Convert part of acpi_table to use acpi_ctx
The current code uses an address but a pointer would result in fewer
casts. Also it repeats the alignment code in a lot of places so this would
be better done in a helper function.
Update write_acpi_tables() to make use of the new acpi_ctx structure,
adding a few helpers to clean things up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Diffstat (limited to 'include/status_led.h')
0 files changed, 0 insertions, 0 deletions