summaryrefslogtreecommitdiff
path: root/drivers/crypto/ccp/sp-dev.c
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2017-07-06 17:59:16 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-07-18 13:15:54 +0300
commitd0ebbc0c407a10485a8672ef370dfe55c666d57f (patch)
tree618e78c4e3fcda8eed0a295af33c3bd9176daa9e /drivers/crypto/ccp/sp-dev.c
parentf4d18d656f882a7ca558313d5f1b18b1fd01f759 (diff)
downloadlinux-d0ebbc0c407a10485a8672ef370dfe55c666d57f.tar.xz
crypto: ccp - rename ccp driver initialize files as sp device
CCP device initializes is now integerated into higher level SP device, to avoid the confusion lets rename the ccp driver initialization files (ccp-platform.c->sp-platform.c, ccp-pci.c->sp-pci.c). The patch does not make any functional changes other than renaming file and structures Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Acked-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/sp-dev.c')
-rw-r--r--drivers/crypto/ccp/sp-dev.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/crypto/ccp/sp-dev.c b/drivers/crypto/ccp/sp-dev.c
index 7e30773443e9..1e5ffad4437b 100644
--- a/drivers/crypto/ccp/sp-dev.c
+++ b/drivers/crypto/ccp/sp-dev.c
@@ -242,13 +242,13 @@ static int __init sp_mod_init(void)
#ifdef CONFIG_X86
int ret;
- ret = ccp_pci_init();
+ ret = sp_pci_init();
if (ret)
return ret;
/* Don't leave the driver loaded if init failed */
if (ccp_present() != 0) {
- ccp_pci_exit();
+ sp_pci_exit();
return -ENODEV;
}
@@ -258,13 +258,13 @@ static int __init sp_mod_init(void)
#ifdef CONFIG_ARM64
int ret;
- ret = ccp_platform_init();
+ ret = sp_platform_init();
if (ret)
return ret;
/* Don't leave the driver loaded if init failed */
if (ccp_present() != 0) {
- ccp_platform_exit();
+ sp_platform_exit();
return -ENODEV;
}
@@ -277,11 +277,11 @@ static int __init sp_mod_init(void)
static void __exit sp_mod_exit(void)
{
#ifdef CONFIG_X86
- ccp_pci_exit();
+ sp_pci_exit();
#endif
#ifdef CONFIG_ARM64
- ccp_platform_exit();
+ sp_platform_exit();
#endif
}