[PATCH] i2c: Rework client usage count, 3 of 3
authorJean Delvare <khali@linux-fr.org>
Sat, 26 Nov 2005 20:03:41 +0000 (21:03 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2006 06:16:22 +0000 (22:16 -0800)
commitcf02df770228350254251fde520007a2709db785
treeef10929d0160ebf27f29bac2a9e285b267a63331
parentcde7859bda0d1124392b44e50aa11df99707e1d9
[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>
Documentation/i2c/porting-clients
drivers/i2c/i2c-core.c
include/linux/i2c.h