i2c_new_client_device

The interface has the following parameters.
  • Synopsis:
    struct i2c_client *i2c_new_client_device(struct i2c_adapter *adap, struct i2c_board_info const *info)
  • Description: The interface is used to instantiate an I2C client device.
  • Parameter:
    • adapter: The adapter which manages the I2C client device.
    • info: The description information of the I2C client device.
  • Return: The pointer to the new I2C client device.