[PATCH] i2c: Rework client usage count, 2 of 3

Make I2C_CLIENT_ALLOW_USE the default for all i2c clients. It doesn't
hurt if the usage count is actually never used for any given driver,
and allows for nice code simplifications in i2c-core.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Jean Delvare
2005-11-26 21:00:54 +01:00
committed by Greg Kroah-Hartman
parent cb748fb201
commit cde7859bda
29 changed files with 10 additions and 46 deletions

View File

@@ -133,7 +133,6 @@ static struct i2c_driver max7310_i2c_driver = {
static struct i2c_client max7310_template = {
name: "akita-max7310",
flags: I2C_CLIENT_ALLOW_USE,
driver: &max7310_i2c_driver,
};