[PATCH] I2C: I2C controllers go into right place on sysfs
commit4941b395b3c2635a8c16d88791a789fb6ac6be43
authorDavid Brownell <david-b@pacbell.net>
Tue, 13 Jun 2006 16:47:27 +0000 (13 09:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jun 2006 18:10:36 +0000 (22 11:10 -0700)
tree82c06cf9135c65a6d4c48240b87df8ceb73ffa48
parent6af586dc58820d052aa538abef4d4d15c2a9e33e
[PATCH] I2C: I2C controllers go into right place on sysfs

I2C creates some sysfs nodes in the wrong places:  not as children of parent
controllers, but as their peers (!).  This puts them into the right place
always, instead of just when the adapter is on the platform bus.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/i2c-dev.c