]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 24 Aug 2017 17:53:10 +0000 (10:53 -0700)
Orabug: 26644685

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>
(cherry picked from commit 166db195536f380c4545a8d2fca9789402464bc8)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
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 e8112e9677f57421e6834709549ee8ef81b5d696..20623641b82c6fd5e1308838e25806a96a68dece 100644 (file)
@@ -287,7 +287,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