i2c_use_client(9)

i2c_use_client9

Increments the reference count of the i2c client structure

Usage

struct i2c_client * i2c_use_client(struct i2c_client * client);

Arguments

client

the client being referenced

Overview

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't

Need 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.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.