new_adapter 418 drivers/i2c/busses/i2c-iop3xx.c struct i2c_adapter *new_adapter; new_adapter 421 drivers/i2c/busses/i2c-iop3xx.c new_adapter = kzalloc(sizeof(struct i2c_adapter), GFP_KERNEL); new_adapter 422 drivers/i2c/busses/i2c-iop3xx.c if (!new_adapter) { new_adapter 481 drivers/i2c/busses/i2c-iop3xx.c memcpy(new_adapter->name, pdev->name, strlen(pdev->name)); new_adapter 482 drivers/i2c/busses/i2c-iop3xx.c new_adapter->owner = THIS_MODULE; new_adapter 483 drivers/i2c/busses/i2c-iop3xx.c new_adapter->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; new_adapter 484 drivers/i2c/busses/i2c-iop3xx.c new_adapter->dev.parent = &pdev->dev; new_adapter 485 drivers/i2c/busses/i2c-iop3xx.c new_adapter->dev.of_node = pdev->dev.of_node; new_adapter 486 drivers/i2c/busses/i2c-iop3xx.c new_adapter->nr = pdev->id; new_adapter 491 drivers/i2c/busses/i2c-iop3xx.c new_adapter->timeout = HZ; new_adapter 492 drivers/i2c/busses/i2c-iop3xx.c new_adapter->algo = &iop3xx_i2c_algo; new_adapter 500 drivers/i2c/busses/i2c-iop3xx.c platform_set_drvdata(pdev, new_adapter); new_adapter 501 drivers/i2c/busses/i2c-iop3xx.c new_adapter->algo_data = adapter_data; new_adapter 503 drivers/i2c/busses/i2c-iop3xx.c i2c_add_numbered_adapter(new_adapter); new_adapter 517 drivers/i2c/busses/i2c-iop3xx.c kfree(new_adapter);