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>
This commit is contained in:
Jean Delvare 2008-01-27 18:14:48 +01:00 • committed by Jean Delvare
commit e48d33193d
3 changed files with 26 additions and 27 deletions