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

NAME

6       i2c_verify_client - return parameter as i2c_client, or NULL
7

SYNOPSIS

9       struct i2c_client * i2c_verify_client(struct device * dev);
10

ARGUMENTS

12       dev
13           device, probably from some driver model iterator
14

DESCRIPTION

16       When traversing the driver model tree, perhaps using driver model
17       iterators like device_for_each_child(), you canĀ“t assume very much
18       about the nodes you find. Use this function to avoid oopses caused by
19       wrongly treating some non-I2C device as an i2c_client.
20
22Kernel Hackers Manual 2.6.         June 2019              I2C_VERIFY_CLIENT(9)
Impressum