]> err.no Git - linux-2.6/commitdiff
[PATCH] i2c: Drop i2c_driver.flags, 3 of 3
authorJean Delvare <khali@linux-fr.org>
Sun, 27 Nov 2005 07:57:10 +0000 (08:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2006 06:16:22 +0000 (22:16 -0800)
The flags member of the i2c_driver structure is no more used. Drop it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/i2c.h

index 99399fadf13f223b53a99380a0c70ba2428321c3..3c16a8fb95f4459e2e465f20c93cbf24799e5019 100644 (file)
@@ -112,7 +112,6 @@ struct i2c_driver {
        char name[32];
        int id;
        unsigned int class;
        char name[32];
        int id;
        unsigned int class;
-       unsigned int flags;             /* div., see below              */
 
        /* Notifies the driver that a new bus has appeared. This routine
         * can be used by the driver to test if the bus meets its conditions
 
        /* Notifies the driver that a new bus has appeared. This routine
         * can be used by the driver to test if the bus meets its conditions
@@ -250,8 +249,6 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data)
        dev_set_drvdata (&dev->dev, data);
 }
 
        dev_set_drvdata (&dev->dev, data);
 }
 
-/*flags for the driver struct: */
-
 /*flags for the client struct: */
 #define I2C_CLIENT_ALLOW_USE           0x01    /* Client allows access */
 #define I2C_CLIENT_ALLOW_MULTIPLE_USE  0x02    /* Allow multiple access-locks */
 /*flags for the client struct: */
 #define I2C_CLIENT_ALLOW_USE           0x01    /* Client allows access */
 #define I2C_CLIENT_ALLOW_MULTIPLE_USE  0x02    /* Allow multiple access-locks */