Rechercher une page de manuel
i2c_verify_client
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
i2c_verify_client - return parameter as i2c_client, or NULLSYNOPSIS
- 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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre