Home
last modified time | relevance | path

Searched refs:new_adapter (Results 1 – 1 of 1) sorted by relevance

/drivers/i2c/busses/
Di2c-iop3xx.c420 struct i2c_adapter *new_adapter; in iop3xx_i2c_probe() local
423 new_adapter = kzalloc(sizeof(struct i2c_adapter), GFP_KERNEL); in iop3xx_i2c_probe()
424 if (!new_adapter) { in iop3xx_i2c_probe()
481 memcpy(new_adapter->name, pdev->name, strlen(pdev->name)); in iop3xx_i2c_probe()
482 new_adapter->owner = THIS_MODULE; in iop3xx_i2c_probe()
483 new_adapter->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; in iop3xx_i2c_probe()
484 new_adapter->dev.parent = &pdev->dev; in iop3xx_i2c_probe()
485 new_adapter->dev.of_node = pdev->dev.of_node; in iop3xx_i2c_probe()
486 new_adapter->nr = pdev->id; in iop3xx_i2c_probe()
491 new_adapter->timeout = HZ; in iop3xx_i2c_probe()
[all …]