centos man page for i2c_verify_adapter

Query: i2c_verify_adapter

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

I2C_VERIFY_ADAPTER(9)					      I2C and SMBus Subsystem					     I2C_VERIFY_ADAPTER(9)

NAME
i2c_verify_adapter - return parameter as i2c_adapter or NULL
SYNOPSIS
struct i2c_adapter * i2c_verify_adapter(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_adapter.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 I2C_VERIFY_ADAPTER(9)
Related Man Pages
struct_bus_type(9) - centos
struct_i2c_bus_recovery_info(9) - centos
struct_i2c_driver(9) - centos
struct_i2c_board_info(9) - centos
struct_input_polled_dev(9) - centos
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Controlling user input
Please Welcome Dave Munro to the Moderator Team!