Skip to content

Commit ec13bcb

Browse files
Nishanth Aravamudanherbertx
authored andcommitted
crypto: nx - rename nx842_{init, exit} to nx842_pseries_{init, exit}
While there is no technical reason that both nx-842.c and nx-842-pseries.c can have the same name for the init/exit functions, it is a bit confusing with initcall_debug. Rename the pseries specific functions appropriately Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent fa9a9a0 commit ec13bcb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/crypto/nx/nx-842-pseries.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ static struct vio_driver nx842_vio_driver = {
10801080
.id_table = nx842_vio_driver_ids,
10811081
};
10821082

1083-
static int __init nx842_init(void)
1083+
static int __init nx842_pseries_init(void)
10841084
{
10851085
struct nx842_devdata *new_devdata;
10861086
int ret;
@@ -1116,9 +1116,9 @@ static int __init nx842_init(void)
11161116
return 0;
11171117
}
11181118

1119-
module_init(nx842_init);
1119+
module_init(nx842_pseries_init);
11201120

1121-
static void __exit nx842_exit(void)
1121+
static void __exit nx842_pseries_exit(void)
11221122
{
11231123
struct nx842_devdata *old_devdata;
11241124
unsigned long flags;
@@ -1137,5 +1137,5 @@ static void __exit nx842_exit(void)
11371137
vio_unregister_driver(&nx842_vio_driver);
11381138
}
11391139

1140-
module_exit(nx842_exit);
1140+
module_exit(nx842_pseries_exit);
11411141

0 commit comments

Comments
 (0)