table of contents
other versions
- jessie 3.16.56-1+deb8u1
I2C_USE_CLIENT(9) | I2C and SMBus Subsystem | I2C_USE_CLIENT(9) |
NAME¶
i2c_use_client - increments the reference count of the i2c client structureSYNOPSIS¶
struct i2c_client *
i2c_use_client(struct i2c_client * client);
ARGUMENTS¶
clientthe client being referenced
DESCRIPTION¶
Each live reference to a client should be refcounted. The driver model does that automatically as part of driver binding, so that most drivers don'tNEED TO DO THIS EXPLICITLY¶
they hold a reference until they're unbound from the device. A pointer to the client with the incremented reference counter is returned.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |