crypto: ccp - Use module name in driver structures
authorTom Lendacky <thomas.lendacky@amd.com>
Thu, 1 Oct 2015 21:32:50 +0000 (16:32 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Oct 2015 13:42:18 +0000 (21:42 +0800)
The convention is to use the name of the module in the driver structures
that are used for registering the device. The CCP module is currently
using a descriptive name. Replace the descriptive name with module name.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-pci.c
drivers/crypto/ccp/ccp-platform.c

index af190d4795a89df056483485992c0661f79fd2da..6ade02f04f91cc7fdaafcdfa2c0b8bbe97e198f3 100644 (file)
@@ -319,7 +319,7 @@ static const struct pci_device_id ccp_pci_table[] = {
 MODULE_DEVICE_TABLE(pci, ccp_pci_table);
 
 static struct pci_driver ccp_pci_driver = {
-       .name = "AMD Cryptographic Coprocessor",
+       .name = "ccp",
        .id_table = ccp_pci_table,
        .probe = ccp_pci_probe,
        .remove = ccp_pci_remove,
index 4bc73d4317519d19749a3c462af186bf1b1d3427..8b923b7e9389aabd96ee10350c0f0ea9f66556f6 100644 (file)
@@ -225,7 +225,7 @@ MODULE_DEVICE_TABLE(of, ccp_of_match);
 
 static struct platform_driver ccp_platform_driver = {
        .driver = {
-               .name = "AMD Cryptographic Coprocessor",
+               .name = "ccp",
 #ifdef CONFIG_ACPI
                .acpi_match_table = ccp_acpi_match,
 #endif