Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-iop3xx.c415 struct i2c_adapter *new_adapter; in iop3xx_i2c_probe() local
418 new_adapter = kzalloc(sizeof(struct i2c_adapter), GFP_KERNEL); in iop3xx_i2c_probe()
419 if (!new_adapter) { in iop3xx_i2c_probe()
476 memcpy(new_adapter->name, pdev->name, strlen(pdev->name)); in iop3xx_i2c_probe()
477 new_adapter->owner = THIS_MODULE; in iop3xx_i2c_probe()
478 new_adapter->class = I2C_CLASS_HWMON; in iop3xx_i2c_probe()
479 new_adapter->dev.parent = &pdev->dev; in iop3xx_i2c_probe()
480 new_adapter->dev.of_node = pdev->dev.of_node; in iop3xx_i2c_probe()
481 new_adapter->nr = pdev->id; in iop3xx_i2c_probe()
486 new_adapter->timeout = HZ; in iop3xx_i2c_probe()
[all …]