lkml.org 
[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 9 Aug 2004 21:37:10 -0700
FromDeepak Saxena <>
Subject[PATCH 2.6] Remove spaces from MTD pci_driver.name field
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@plexity.net>


===== 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2008