Query: i2c_use_client
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
I2C_USE_CLIENT(9) I2C and SMBus Subsystem I2C_USE_CLIENT(9)NAMEi2c_use_client - increments the reference count of the i2c client structureSYNOPSISstruct i2c_client * i2c_use_client(struct i2c_client * client);ARGUMENTSclient the client being referencedDESCRIPTIONEach 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 EXPLICITLYthey hold a reference until they're unbound from the device. A pointer to the client with the incremented reference counter is returned.COPYRIGHTKernel Hackers Manual 2.6. July 2010 I2C_USE_CLIENT(9)