i2c_verify_client(9) centos man page | unix.com

Man Page: i2c_verify_client

Operating Environment: centos

Section: 9

I2C_VERIFY_CLIENT(9)					      I2C and SMBus Subsystem					      I2C_VERIFY_CLIENT(9)

NAME
i2c_verify_client - return parameter as i2c_client, or NULL
SYNOPSIS
struct i2c_client * i2c_verify_client(struct device * dev);
ARGUMENTS
dev device, probably from some driver model iterator
DESCRIPTION
When traversing the driver model tree, perhaps using driver model iterators like device_for_each_child(), you can't assume very much about the nodes you find. Use this function to avoid oopses caused by wrongly treating some non-I2C device as an i2c_client.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 I2C_VERIFY_CLIENT(9)
Related Man Pages
struct_device_driver(9) - centos
struct_input_polled_dev(9) - centos
i2c_add_numbered_adapter(9) - centos
i2c_register_board_info(9) - centos
struct_input_polled_dev(9) - suse
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Controlling user input
Please Welcome Dave Munro to the Moderator Team!