i2c: Convert i2c adapters to bus devices
authorJean Delvare <khali@linux-fr.org>
Fri, 18 Sep 2009 20:45:46 +0000 (22:45 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 18 Sep 2009 20:45:46 +0000 (22:45 +0200)
commit4f8cf8240a0c8b232c2ae22e019a4ba1d5f19ccd
tree786bc29c40c4fbc8b28802c1688b162002900ec8
parent51298d1257b9f0a356ad66650c9fe2ca5bfa5ae3
i2c: Convert i2c adapters to bus devices

Kay says i2c adapters shouldn't be class devices but bus devices.
Convert them that way, using a device type.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
drivers/i2c/i2c-core.c