suse man page for i2c_verify_client

Query: i2c_verify_client

OS: suse

Section: 9

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

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 2.6. July 2010 I2C_VERIFY_CLIENT(9)
Related Man Pages
smbus(7d) - sunos
struct_i2c_driver(9) - centos
struct_i2c_board_info(9) - centos
i2c_register_board_info(9) - centos
struct_i2c_board_info(9) - suse
Similar Topics in the Unix Linux Community
Getting command output to putty window title.
Grant unprivileged user rights to see the output of echo|format but not modify disks
Tar Command
A (ksh) Library For and From UNIX.com
The Future of the PM (Private Message) System at UNIX.com