]> err.no Git - linux-2.6/commitdiff
[PATCH] i2c: Cleanup isp1301_omap
authorJean Delvare <khali@linux-fr.org>
Sun, 5 Feb 2006 22:31:25 +0000 (23:31 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:21:54 +0000 (14:21 -0800)
Drop unused rogue i2c driver ID and nonsensical i2c class.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/isp1301_omap.c

index 1251c7fc18d5a4f65e781e79dae320217a7390c3..e6f1ab7b913c1d59db9c7e6e7e98b3920927ea21 100644 (file)
@@ -1635,8 +1635,6 @@ static struct i2c_driver isp1301_driver = {
        .driver = {
                .name   = "isp1301_omap",
        },
-       .id             = 1301,         /* FIXME "official", i2c-ids.h */
-       .class          = I2C_CLASS_HWMON,
        .attach_adapter = isp1301_scan_bus,
        .detach_client  = isp1301_detach_client,
 };