efi: stmm: Constify struct efivar_operations
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Sun, 15 Feb 2026 11:06:28 +0000 (12:06 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 18 Feb 2026 10:26:20 +0000 (11:26 +0100)
commit62cb7abdef118ffdc9748ad4de69bb9b38771340
tree302e1c8a7bdce16cffd9e97e1ca664e106d23d27
parente00ac9e5afb5d80c0168ec88d8e8662a54af8249
efi: stmm: Constify struct efivar_operations

The 'struct efivar_operations' is not modified by the driver after
initialization, so it should follow typical practice of being static
const for increased code safety and readability.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/stmm/tee_stmm_efi.c