projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[S390] crypto: use more descriptive function names for init/exit routines.
[firefly-linux-kernel-4.4.55.git]
/
arch
/
s390
/
crypto
/
sha1_s390.c
diff --git
a/arch/s390/crypto/sha1_s390.c
b/arch/s390/crypto/sha1_s390.c
index 5a834f6578ab85827c6a1416d788280c72322c47..9cf9eca227472f7ab4a50591d68e14353c2b885a 100644
(file)
--- a/
arch/s390/crypto/sha1_s390.c
+++ b/
arch/s390/crypto/sha1_s390.c
@@
-137,7
+137,7
@@
static struct crypto_alg alg = {
.dia_final = sha1_final } }
};
.dia_final = sha1_final } }
};
-static int __init init(void)
+static int __init
sha1_s390_
init(void)
{
if (!crypt_s390_func_available(KIMD_SHA_1))
return -EOPNOTSUPP;
{
if (!crypt_s390_func_available(KIMD_SHA_1))
return -EOPNOTSUPP;
@@
-145,13
+145,13
@@
static int __init init(void)
return crypto_register_alg(&alg);
}
return crypto_register_alg(&alg);
}
-static void __exit fini(void)
+static void __exit
sha1_s390_
fini(void)
{
crypto_unregister_alg(&alg);
}
{
crypto_unregister_alg(&alg);
}
-module_init(init);
-module_exit(fini);
+module_init(
sha1_s390_
init);
+module_exit(
sha1_s390_
fini);
MODULE_ALIAS("sha1");
MODULE_ALIAS("sha1");