i2c sysfs rant

Wiktor Wodecki wodecki at gmx.de
Thu Aug 7 11:09:03 CEST 2003


On Wed, Aug 06, 2003 at 04:22:44PM -0700, Greg KH wrote:
> On Wed, Aug 06, 2003 at 09:11:45PM +0200, Wiktor Wodecki wrote:
> > Hello folks,
> > 
> > I just saw that I2C provides "/sys/bus/i2c/drivers/dev\ driver" in
> > 2.6.0-test2. It would be nice if you'd consider renaming this to
> > dev_driver, to avoid un-neccessary quoting in scripts.
> > 
> > Thank You :-)
> 
> Patches are always gladly accepted :)

here you go

-- 
Regards,

Wiktor Wodecki
-------------- next part --------------
diff -bur linux-2.6.0-test2-O10.orig/drivers/i2c/i2c-dev.c linux-2.6.0-test2-O10/drivers/i2c/i2c-dev.c
--- linux-2.6.0-test2-O10.orig/drivers/i2c/i2c-dev.c	2003-07-14 05:36:48.000000000 +0200
+++ linux-2.6.0-test2-O10/drivers/i2c/i2c-dev.c	2003-08-07 10:53:55.000000000 +0200
@@ -474,7 +474,7 @@
 
 static struct i2c_driver i2cdev_driver = {
 	.owner		= THIS_MODULE,
-	.name		= "dev driver",
+	.name		= "dev_driver",
 	.id		= I2C_DRIVERID_I2CDEV,
 	.flags		= I2C_DF_NOTIFY,
 	.attach_adapter	= i2cdev_attach_adapter,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030807/b3165378/attachment.sig>


More information about the lm-sensors mailing list