Query: i2c_new_device
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
I2C_NEW_DEVICE(9) I2C and SMBus Subsystem I2C_NEW_DEVICE(9)NAMEi2c_new_device - instantiate an i2c deviceSYNOPSISstruct i2c_client * i2c_new_device(struct i2c_adapter * adap, struct i2c_board_info const * info);ARGUMENTSadap the adapter managing the device info describes one I2C device; bus_num is ignoredCONTEXTcan sleepDESCRIPTIONCreate an i2c device. Binding is handled through driver model probe/remove methods. A driver may be bound to this device when we return from this function, or any later moment (e.g. maybe hotplugging will load the driver module). This call is not appropriate for use by mainboard initialization logic, which usually runs during an arch_initcall long before any i2c_adapter could exist. This returns the new i2c client, which may be saved for later use with i2c_unregister_device; or NULL to indicate an error.COPYRIGHTKernel Hackers Manual 3.10 June 2014 I2C_NEW_DEVICE(9)
Related Man Pages |
---|
i2c-stub-from-dump(8) - centos |
struct_device_driver(9) - centos |
struct_i2c_bus_recovery_info(9) - centos |
i2c_register_board_info(9) - centos |
acpismbus(4) - netbsd |
Similar Topics in the Unix Linux Community |
---|
CentOS7 restoring file capabilities |
Docker learning Phase-I |
Shopt -s histappend |
Controlling user input |
[TIP] Processing YAML files with yq |