Преглед на файлове

crypto: ccp - Use module name in driver structures

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>
Tom Lendacky преди 10 години
родител
ревизия
166db19553
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      drivers/crypto/ccp/ccp-pci.c
  2. 1 1
      drivers/crypto/ccp/ccp-platform.c

+ 1 - 1
drivers/crypto/ccp/ccp-pci.c

@@ -319,7 +319,7 @@ static const struct pci_device_id ccp_pci_table[] = {
 MODULE_DEVICE_TABLE(pci, ccp_pci_table);
 MODULE_DEVICE_TABLE(pci, ccp_pci_table);
 
 
 static struct pci_driver ccp_pci_driver = {
 static struct pci_driver ccp_pci_driver = {
-	.name = "AMD Cryptographic Coprocessor",
+	.name = "ccp",
 	.id_table = ccp_pci_table,
 	.id_table = ccp_pci_table,
 	.probe = ccp_pci_probe,
 	.probe = ccp_pci_probe,
 	.remove = ccp_pci_remove,
 	.remove = ccp_pci_remove,

+ 1 - 1
drivers/crypto/ccp/ccp-platform.c

@@ -225,7 +225,7 @@ MODULE_DEVICE_TABLE(of, ccp_of_match);
 
 
 static struct platform_driver ccp_platform_driver = {
 static struct platform_driver ccp_platform_driver = {
 	.driver = {
 	.driver = {
-		.name = "AMD Cryptographic Coprocessor",
+		.name = "ccp",
 #ifdef CONFIG_ACPI
 #ifdef CONFIG_ACPI
 		.acpi_match_table = ccp_acpi_match,
 		.acpi_match_table = ccp_acpi_match,
 #endif
 #endif