i2c-parport-light: Port to the new device driver model
commitc6e8bb2ca5e50547557650c9251d24f55a8f4cfb
authorJean Delvare <khali@linux-fr.org>
Tue, 1 May 2007 21:26:30 +0000 (1 23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:30 +0000 (1 23:26 +0200)
treedb938575bff15cbda1c6e4f0b63e062a926fc7e2
parent3af07bd297b6ba3d77474fdb3b2656dd3f0404d5
i2c-parport-light: Port to the new device driver model

Also fix a small race on driver unload: we need to unregister the
i2c adapter before we power it off.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-parport-light.c