[PATCH 2.6] Remove spaces from MTD pci_driver.name field

From: Deepak Saxena
Date: Mon Aug 09 2004 - 23:38:44 EST



David,

Spaces in driver names show up as spaces in the sysfs tree.
While there is no documented requirement that spaces not
exist in sysfs paths, my understanding is that they are not
desired.

Please apply,
~Deepak

Signed-off-by: Deepak Saxena <dsaxena@xxxxxxxxxxx>


===== drivers/mtd/maps/pci.c 1.6 vs edited =====
--- 1.6/drivers/mtd/maps/pci.c Thu Jul 15 10:31:48 2004
+++ edited/drivers/mtd/maps/pci.c Mon Aug 9 18:06:34 2004
@@ -362,7 +362,7 @@
}

static struct pci_driver mtd_pci_driver = {
- .name = "MTD PCI",
+ .name = "MTD_PCI",
.probe = mtd_pci_probe,
.remove = __devexit_p(mtd_pci_remove),
.id_table = mtd_pci_ids,
===== drivers/mtd/maps/scb2_flash.c 1.4 vs edited =====
--- 1.4/drivers/mtd/maps/scb2_flash.c Thu Jul 15 10:31:48 2004
+++ edited/drivers/mtd/maps/scb2_flash.c Mon Aug 9 18:06:53 2004
@@ -229,7 +229,7 @@
};

static struct pci_driver scb2_flash_driver = {
- .name = "Intel SCB2 BIOS Flash",
+ .name = "Intel_SCB2_BIOS",
.id_table = scb2_flash_pci_ids,
.probe = scb2_flash_probe,
.remove = __devexit_p(scb2_flash_remove),

--
Deepak Saxena - dsaxena at plexity dot net - http://www.plexity.net/

"Unlike me, many of you have accepted the situation of your imprisonment and
will die here like rotten cabbages." - Number 6
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/