Skip to content

Commit 4d2ae60

Browse files
Gavin Thomas Claugusgregkh
authored andcommitted
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>
1 parent 9f9499a commit 4d2ae60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/tty/serial/jsm/jsm_driver.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
7070
goto out;
7171
}
7272

73-
rc = pci_request_regions(pdev, "jsm");
73+
rc = pci_request_regions(pdev, JSM_DRIVER_NAME);
7474
if (rc) {
7575
dev_err(&pdev->dev, "pci_request_region FAILED\n");
7676
goto out_disable_device;
@@ -328,7 +328,7 @@ static struct pci_device_id jsm_pci_tbl[] = {
328328
MODULE_DEVICE_TABLE(pci, jsm_pci_tbl);
329329

330330
static struct pci_driver jsm_driver = {
331-
.name = "jsm",
331+
.name = JSM_DRIVER_NAME,
332332
.id_table = jsm_pci_tbl,
333333
.probe = jsm_probe_one,
334334
.remove = jsm_remove_one,

0 commit comments

Comments
 (0)