Home
last modified time | relevance | path

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

/arch/x86/platform/intel-mid/
Dsfi.c242 struct spi_board_info *new_dev; in intel_scu_spi_device_register() local
249 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() local
270 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()