diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-11-26 15:03:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-06 01:16:22 -0500 |
commit | cf02df770228350254251fde520007a2709db785 (patch) | |
tree | ef10929d0160ebf27f29bac2a9e285b267a63331 /Documentation/i2c | |
parent | cde7859bda0d1124392b44e50aa11df99707e1d9 (diff) |
[PATCH] i2c: Rework client usage count, 3 of 3
Do not limit the usage count of i2c clients to 1. In other words,
change the client usage count behavior from the old I2C_CLIENT_ALLOW_USE
to the old I2C_CLIENT_ALLOW_MULTIPLE_USE. The rationale is that no
driver actually needs the limiting behavior, and the unlimiting
behavior is slightly easier to implement.
Update the documentation to reflect this change.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/i2c')
-rw-r--r-- | Documentation/i2c/porting-clients | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/i2c/porting-clients b/Documentation/i2c/porting-clients index 64c610bf2fbc..6b07f23039d2 100644 --- a/Documentation/i2c/porting-clients +++ b/Documentation/i2c/porting-clients | |||
@@ -92,6 +92,7 @@ Technical changes: | |||
92 | Drop client->id. | 92 | Drop client->id. |
93 | Drop any 24RF08 corruption prevention you find, as this is now done | 93 | Drop any 24RF08 corruption prevention you find, as this is now done |
94 | at the i2c-core level, and doing it twice voids it. | 94 | at the i2c-core level, and doing it twice voids it. |
95 | Don't add I2C_CLIENT_ALLOW_USE to client->flags, it's the default now. | ||
95 | 96 | ||
96 | * [Init] Limits must not be set by the driver (can be done later in | 97 | * [Init] Limits must not be set by the driver (can be done later in |
97 | user-space). Chip should not be reset default (although a module | 98 | user-space). Chip should not be reset default (although a module |