hwrng: optee-rng: use tee_shm_alloc_kernel_buf()
authorJens Wiklander <jens.wiklander@linaro.org>
Wed, 9 Jun 2021 06:30:07 +0000 (08:30 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 3 Feb 2022 13:34:33 +0000 (14:34 +0100)
commit60b0675e9b9e66df7993979b8f7e2a3895d97dc8
tree233cae4d110c8124eba12e4937257842be8cfeea
parent7e3c6eb44c91f1ba0a92d6f327f60a552d4d36c8
hwrng: optee-rng: use tee_shm_alloc_kernel_buf()

Uses the new simplified tee_shm_alloc_kernel_buf() function instead of
the old deprecated tee_shm_alloc() function which required specific
TEE_SHM-flags.

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/char/hw_random/optee-rng.c