]> Gentwo Git Trees - linux/.git/commit
s390/pai_crypto: Rename some function for common usage.
authorThomas Richter <tmricht@linux.ibm.com>
Wed, 5 Nov 2025 14:38:48 +0000 (15:38 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 14 Nov 2025 10:30:05 +0000 (11:30 +0100)
commit65b9831bd3ced5acb0d4a0fad66f7585a3ad3db8
tree11f087c37a8519cc0709e7c344de09a0576d591c
parent413957980ac86d04afa6a634eaab1182dcd8c6c3
s390/pai_crypto: Rename some function for common usage.

To support one common PAI PMU device driver which handles
both PMUs pai_crypto and pai_ext, use a common naming scheme
for structures and variables suitable for both device drivers.
Rename functions
 - paicrypt_free() -> pai_free()
 - paicrypt_destroy_event() -> pai_destroy_event()
 - paicrypt_destroy_event_cpu() -> pai_destroy_event_cpu()
to reflect their future common usage.
No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Jan Polensky <japo@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/perf_pai_crypto.c