]> git.hungrycats.org Git - linux/commitdiff
Revert I2C keywest class fixup
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 25 Aug 2004 14:31:10 +0000 (07:31 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 25 Aug 2004 14:31:10 +0000 (07:31 -0700)
Benh says: "Please revert that for now, I need to figure out what they
were exactly trying to do and will come up with something if it makes
sense but the patch as-is doesn't"

Cset exclude: khali@linux-fr.org|ChangeSet|20040825202122|07524

drivers/i2c/busses/i2c-keywest.c

index d6522488ae45e77cf69449124e5912aa0d538390..a5a8c1e7987ce58ce21b513b2880285ad20d1351 100644 (file)
@@ -618,8 +618,6 @@ create_iface(struct device_node *np, struct device *dev)
                chan->iface = iface;
                chan->chan_no = i;
                chan->adapter.id = I2C_ALGO_SMBUS;
-               if (i==1)
-                       chan->adapter.class = I2C_CLASS_HWMON;
                chan->adapter.algo = &keywest_algorithm;
                chan->adapter.algo_data = NULL;
                chan->adapter.client_register = NULL;