Searched refs:aux_device (Results 1 – 1 of 1) sorted by relevance
640 struct tm5_aux_dev_wrapper *aux_device; in adc5_gen3_add_aux_tm_device() local643 aux_device = devm_kzalloc(adc->dev, sizeof(*aux_device), GFP_KERNEL); in adc5_gen3_add_aux_tm_device()644 if (!aux_device) in adc5_gen3_add_aux_tm_device()647 aux_device->aux_dev.name = "adc5_tm_gen3"; in adc5_gen3_add_aux_tm_device()648 aux_device->aux_dev.dev.parent = adc->dev; in adc5_gen3_add_aux_tm_device()649 aux_device->aux_dev.dev.release = adc5_gen3_aux_device_release; in adc5_gen3_add_aux_tm_device()651 aux_device->tm_props = devm_kcalloc(adc->dev, adc->n_tm_channels, in adc5_gen3_add_aux_tm_device()652 sizeof(*aux_device->tm_props), in adc5_gen3_add_aux_tm_device()654 if (!aux_device->tm_props) in adc5_gen3_add_aux_tm_device()657 aux_device->dev_data = &adc->dev_data; in adc5_gen3_add_aux_tm_device()[all …]