efi/runtime-wrapper: Move workqueue manipulation out of line
authorArd Biesheuvel <ardb@kernel.org>
Sun, 2 Jul 2023 13:57:13 +0000 (15:57 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 21 Aug 2023 15:59:54 +0000 (17:59 +0200)
commitc99ba6e54652652a30a48e3f789d503d75646520
tree865437f6337d2962e8eb956576f950a6aced6104
parentc7c7bce093c883739d6735d68604055131acfbea
efi/runtime-wrapper: Move workqueue manipulation out of line

efi_queue_work() is a macro that implements the non-trivial manipulation
of the EFI runtime workqueue and completion data structure, most of
which is generic, and could be shared between all the users of the
macro. So move it out of the macro and into a new helper function.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/runtime-wrappers.c