1I2C_USE_CLIENT(9)           I2C and SMBus Subsystem          I2C_USE_CLIENT(9)
2
3
4

NAME

6       i2c_use_client - increments the reference count of the i2c client
7       structure
8

SYNOPSIS

10       struct i2c_client * i2c_use_client(struct i2c_client * client);
11

ARGUMENTS

13       client
14           the client being referenced
15

DESCRIPTION

17       Each live reference to a client should be refcounted. The driver model
18       does that automatically as part of driver binding, so that most drivers
19       don´t
20

NEED TO DO THIS EXPLICITLY

22       they hold a reference until they´re unbound from the device.
23
24       A pointer to the client with the incremented reference counter is
25       returned.
26
28Kernel Hackers Manual 2.6.         June 2019                 I2C_USE_CLIENT(9)
Impressum