i2c: Use the driver model reference counting
authorJean Delvare <khali@linux-fr.org>
Sun, 27 Jan 2008 17:14:48 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:48 +0000 (18:14 +0100)
commitbdc511f438f6ca40307e06edda00331e6ac0f813
tree06b099c3aa7cb83ca45d4ff280d312f1976c34f6
parent0f79b72e45da68bf542a63a08f9c924b91b507e7
i2c: Use the driver model reference counting

Don't implement our own reference counting mechanism for i2c clients
when the driver model already has one.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <david-b@pacbell.net>
drivers/i2c/i2c-core.c
drivers/media/video/ks0127.c
include/linux/i2c.h