'\" t .\" Title: i2c_use_client .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: I2C and SMBus Subsystem .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "I2C_USE_CLIENT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "I2C and SMBus Subsystem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" i2c_use_client \- increments the reference count of the i2c client structure .SH "SYNOPSIS" .HP \w'struct\ i2c_client\ *\ i2c_use_client('u .BI "struct i2c_client * i2c_use_client(struct\ i2c_client\ *\ " "client" ");" .SH "ARGUMENTS" .PP \fIclient\fR .RS 4 the client being referenced .RE .SH "DESCRIPTION" .PP 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\*(Aqt need to do this explicitly: they hold a reference until they\*(Aqre unbound from the device\&. .PP A pointer to the client with the incremented reference counter is returned\&. .SH "COPYRIGHT" .br