tee: optee: fix a print error on rng probing
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 18 Jan 2023 15:38:21 +0000 (17:38 +0200)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 20 Jan 2023 08:04:56 +0000 (10:04 +0200)
commit218a9917d6f0b11c41189ceb649cf04201325daf
tree0249c0e94da2e4e4c289c57c744e43a954ca965c
parent53c47c59e638cc118c272235db516bb541dad0ac
tee: optee: fix a print error on rng probing

If we fail to probe the optee-rng device, we print a wrong message
referring to the firmware tpm.

Fixes: 476a3d58dfeb ("tee: optee: don't fail probe because of optee-rng")
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tee/optee/core.c