]> err.no Git - linux-2.6/commit
i2c: Change prototypes of refcounting functions
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)
commite48d33193d94175f012c3ed606a1d1e574ed726a
tree6bc9c255dbb1dc34b23197bc2d501fc30c9606c1
parentbdc511f438f6ca40307e06edda00331e6ac0f813
i2c: Change prototypes of refcounting functions

Use more standard prototypes for i2c_use_client() and
i2c_release_client(). The former now returns a pointer to the client,
and the latter no longer returns anything. This matches what all other
subsystems do.

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