amdtee: Use pr_fmt for messages
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 21 Apr 2025 15:22:22 +0000 (10:22 -0500)
committerJens Wiklander <jens.wiklander@linaro.org>
Tue, 29 Apr 2025 08:57:40 +0000 (10:57 +0200)
commit7b0323666b260faef6db1a9fbe9bcce0c9bd750f
treed519a4a1c427b316ee1365c2dced1ea79633e5c8
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
amdtee: Use pr_fmt for messages

amd-tee inconsistently uses the word amd-tee in error messages.

Add a `pr_fmt()` define and remove the hardcoded use of amd-tee.
Also, remove the unnecessary driver init successful message because
there will be a message if failed and a user can assume it was successful
otherwise.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/amdtee/core.c