浏览代码

[PARISC] Change the driver names so /sys/bus/parisc/drivers/ looks better

Make /sys/bus/parisc/drivers look better by cleaning up parisc_driver
names.

Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Matthew Wilcox 19 年之前
父节点
当前提交
bdad1f836a

+ 1 - 1
drivers/input/keyboard/hilkbd.c

@@ -299,7 +299,7 @@ static struct parisc_device_id hil_tbl[] = {
 MODULE_DEVICE_TABLE(parisc, hil_tbl);
 MODULE_DEVICE_TABLE(parisc, hil_tbl);
 
 
 static struct parisc_driver hil_driver = {
 static struct parisc_driver hil_driver = {
-	.name =		"HIL",
+	.name =		"hil",
 	.id_table =	hil_tbl,
 	.id_table =	hil_tbl,
 	.probe =	hil_init_chip,
 	.probe =	hil_init_chip,
 };
 };

+ 1 - 1
drivers/input/serio/gscps2.c

@@ -444,7 +444,7 @@ static struct parisc_device_id gscps2_device_tbl[] = {
 };
 };
 
 
 static struct parisc_driver parisc_ps2_driver = {
 static struct parisc_driver parisc_ps2_driver = {
-	.name		= "GSC PS2",
+	.name		= "gsc_ps2",
 	.id_table	= gscps2_device_tbl,
 	.id_table	= gscps2_device_tbl,
 	.probe		= gscps2_probe,
 	.probe		= gscps2_probe,
 	.remove		= gscps2_remove,
 	.remove		= gscps2_remove,

+ 1 - 1
drivers/input/serio/hp_sdc.c

@@ -764,7 +764,7 @@ MODULE_DEVICE_TABLE(parisc, hp_sdc_tbl);
 static int __init hp_sdc_init_hppa(struct parisc_device *d);
 static int __init hp_sdc_init_hppa(struct parisc_device *d);
 
 
 static struct parisc_driver hp_sdc_driver = {
 static struct parisc_driver hp_sdc_driver = {
-	.name =		"HP SDC",
+	.name =		"hp_sdc",
 	.id_table =	hp_sdc_tbl,
 	.id_table =	hp_sdc_tbl,
 	.probe =	hp_sdc_init_hppa,
 	.probe =	hp_sdc_init_hppa,
 };
 };

+ 1 - 1
drivers/net/lasi_82596.c

@@ -1566,7 +1566,7 @@ static struct parisc_device_id lan_tbl[] = {
 MODULE_DEVICE_TABLE(parisc, lan_tbl);
 MODULE_DEVICE_TABLE(parisc, lan_tbl);
 
 
 static struct parisc_driver lan_driver = {
 static struct parisc_driver lan_driver = {
-	.name		= "Apricot",
+	.name		= "lasi_82596",
 	.id_table	= lan_tbl,
 	.id_table	= lan_tbl,
 	.probe		= lan_init_chip,
 	.probe		= lan_init_chip,
 };
 };

+ 1 - 1
drivers/parisc/asp.c

@@ -126,7 +126,7 @@ static struct parisc_device_id asp_tbl[] = {
 };
 };
 
 
 struct parisc_driver asp_driver = {
 struct parisc_driver asp_driver = {
-	.name =		"Asp",
+	.name =		"asp",
 	.id_table =	asp_tbl,
 	.id_table =	asp_tbl,
 	.probe =	asp_init_chip,
 	.probe =	asp_init_chip,
 };
 };

+ 1 - 1
drivers/parisc/ccio-dma.c

@@ -1251,7 +1251,7 @@ static struct parisc_device_id ccio_tbl[] = {
 static int ccio_probe(struct parisc_device *dev);
 static int ccio_probe(struct parisc_device *dev);
 
 
 static struct parisc_driver ccio_driver = {
 static struct parisc_driver ccio_driver = {
-	.name =		"U2:Uturn",
+	.name =		"ccio",
 	.id_table =	ccio_tbl,
 	.id_table =	ccio_tbl,
 	.probe =	ccio_probe,
 	.probe =	ccio_probe,
 };
 };

+ 2 - 2
drivers/parisc/dino.c

@@ -1027,9 +1027,9 @@ static struct parisc_device_id dino_tbl[] = {
 };
 };
 
 
 static struct parisc_driver dino_driver = {
 static struct parisc_driver dino_driver = {
-	.name =		"Dino",
+	.name =		"dino",
 	.id_table =	dino_tbl,
 	.id_table =	dino_tbl,
-	.probe =	dino_driver_callback,
+	.probe =	dino_probe,
 };
 };
 
 
 /*
 /*

+ 1 - 1
drivers/parisc/eisa.c

@@ -397,7 +397,7 @@ static struct parisc_device_id eisa_tbl[] = {
 MODULE_DEVICE_TABLE(parisc, eisa_tbl);
 MODULE_DEVICE_TABLE(parisc, eisa_tbl);
 
 
 static struct parisc_driver eisa_driver = {
 static struct parisc_driver eisa_driver = {
-	.name =		"EISA Bus Adapter",
+	.name =		"eisa_ba",
 	.id_table =	eisa_tbl,
 	.id_table =	eisa_tbl,
 	.probe =	eisa_probe,
 	.probe =	eisa_probe,
 };
 };

+ 1 - 1
drivers/parisc/hppb.c

@@ -93,7 +93,7 @@ static struct parisc_device_id hppb_tbl[] = {
 };
 };
 
 
 static struct parisc_driver hppb_driver = {
 static struct parisc_driver hppb_driver = {
-        .name =         "Gecko Boa",
+        .name =         "gecko_boa",
         .id_table =     hppb_tbl,
         .id_table =     hppb_tbl,
 	.probe =        hppb_probe,
 	.probe =        hppb_probe,
 };
 };

+ 1 - 1
drivers/parisc/lasi.c

@@ -233,7 +233,7 @@ static struct parisc_device_id lasi_tbl[] = {
 };
 };
 
 
 struct parisc_driver lasi_driver = {
 struct parisc_driver lasi_driver = {
-	.name =		"Lasi",
+	.name =		"lasi",
 	.id_table =	lasi_tbl,
 	.id_table =	lasi_tbl,
 	.probe =	lasi_init_chip,
 	.probe =	lasi_init_chip,
 };
 };

+ 1 - 1
drivers/scsi/lasi700.c

@@ -168,7 +168,7 @@ lasi700_driver_remove(struct parisc_device *dev)
 }
 }
 
 
 static struct parisc_driver lasi700_driver = {
 static struct parisc_driver lasi700_driver = {
-	.name =		"Lasi SCSI",
+	.name =		"lasi_scsi",
 	.id_table =	lasi700_ids,
 	.id_table =	lasi700_ids,
 	.probe =	lasi700_probe,
 	.probe =	lasi700_probe,
 	.remove =	__devexit_p(lasi700_driver_remove),
 	.remove =	__devexit_p(lasi700_driver_remove),

+ 1 - 1
drivers/serial/mux.c

@@ -497,7 +497,7 @@ static struct parisc_device_id mux_tbl[] = {
 MODULE_DEVICE_TABLE(parisc, mux_tbl);
 MODULE_DEVICE_TABLE(parisc, mux_tbl);
 
 
 static struct parisc_driver serial_mux_driver = {
 static struct parisc_driver serial_mux_driver = {
-	.name =		"Serial MUX",
+	.name =		"serial_mux",
 	.id_table =	mux_tbl,
 	.id_table =	mux_tbl,
 	.probe =	mux_probe,
 	.probe =	mux_probe,
 };
 };