diff options
author | Gavin Thomas Claugus <gclaugus@gmail.com> | 2015-12-01 19:06:19 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 22:59:48 -0500 |
commit | 4d2ae601d80675af025e7a5bcbe918c58b6743aa (patch) | |
tree | 6c37d44087ed3ea15cbe569ed8d255c89afb05f2 | |
parent | 9f9499ae8e6415cefc4fe0a96ad0e27864353c89 (diff) |
drivers: serial: jsm: Switch "jsm" to JSM_DRIVER_NAME
This commit replaces every instance of the string "jsm"
in the driver with JSM_DRIVER_NAME, as the two are
equivalent. This should increase overall consistency.
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/serial/jsm/jsm_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/jsm/jsm_driver.c b/drivers/tty/serial/jsm/jsm_driver.c index efbd87a76656..a119f11bf2f4 100644 --- a/drivers/tty/serial/jsm/jsm_driver.c +++ b/drivers/tty/serial/jsm/jsm_driver.c | |||
@@ -70,7 +70,7 @@ static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
70 | goto out; | 70 | goto out; |
71 | } | 71 | } |
72 | 72 | ||
73 | rc = pci_request_regions(pdev, "jsm"); | 73 | rc = pci_request_regions(pdev, JSM_DRIVER_NAME); |
74 | if (rc) { | 74 | if (rc) { |
75 | dev_err(&pdev->dev, "pci_request_region FAILED\n"); | 75 | dev_err(&pdev->dev, "pci_request_region FAILED\n"); |
76 | goto out_disable_device; | 76 | goto out_disable_device; |
@@ -328,7 +328,7 @@ static struct pci_device_id jsm_pci_tbl[] = { | |||
328 | MODULE_DEVICE_TABLE(pci, jsm_pci_tbl); | 328 | MODULE_DEVICE_TABLE(pci, jsm_pci_tbl); |
329 | 329 | ||
330 | static struct pci_driver jsm_driver = { | 330 | static struct pci_driver jsm_driver = { |
331 | .name = "jsm", | 331 | .name = JSM_DRIVER_NAME, |
332 | .id_table = jsm_pci_tbl, | 332 | .id_table = jsm_pci_tbl, |
333 | .probe = jsm_probe_one, | 333 | .probe = jsm_probe_one, |
334 | .remove = jsm_remove_one, | 334 | .remove = jsm_remove_one, |