Searched refs:new_dev (Results 1 – 1 of 1) sorted by relevance
242 struct spi_board_info *new_dev; in intel_scu_spi_device_register() local249 new_dev = kzalloc(sizeof(*sdev), GFP_KERNEL); in intel_scu_spi_device_register()250 if (!new_dev) { in intel_scu_spi_device_register()255 *new_dev = *sdev; in intel_scu_spi_device_register()257 spi_devs[spi_next_dev++] = new_dev; in intel_scu_spi_device_register()263 struct i2c_board_info *new_dev; in intel_scu_i2c_device_register() local270 new_dev = kzalloc(sizeof(*idev), GFP_KERNEL); in intel_scu_i2c_device_register()271 if (!new_dev) { in intel_scu_i2c_device_register()276 *new_dev = *idev; in intel_scu_i2c_device_register()279 i2c_devs[i2c_next_dev++] = new_dev; in intel_scu_i2c_device_register()