[PATCH] I2C: move i2c-dev to use dynamic class devices
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Dec 2005 23:33:15 +0000 (15:33 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2006 06:16:25 +0000 (22:16 -0800)
commit79472132f555ae1e912699e116e5c82f338872f6
tree5f2b69e43b8797cab242f6524f6bb0d55694c849
parentd82c0bf88fa97c1993ea9d6051488e7cb012b440
[PATCH] I2C: move i2c-dev to use dynamic class devices

i2c-dev doesn't use the reference counting logic of struct class_device so move
it to the dynamic method.  This makes the code paths simpler and the driver
smaller.

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