Re: [PATCH] More i2c driver changes 2.6.0-test2

From: Greg KH
Date: Fri Aug 08 2003 - 20:05:17 EST


ChangeSet 1.1126, 2003/08/08 16:33:00-07:00, wodecki@xxxxxx

[PATCH] I2C: i2c sysfs rant

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


drivers/i2c/i2c-dev.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c
--- a/drivers/i2c/i2c-dev.c Fri Aug 8 16:47:15 2003
+++ b/drivers/i2c/i2c-dev.c Fri Aug 8 16:47:15 2003
@@ -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,

-
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/