Searched refs:aux_device (Results 1 – 1 of 1) sorted by relevance
615 struct tm5_aux_dev_wrapper *aux_device; in adc5_gen3_add_aux_tm_device() local618 aux_device = devm_kzalloc(adc->dev, sizeof(*aux_device), GFP_KERNEL); in adc5_gen3_add_aux_tm_device()619 if (!aux_device) in adc5_gen3_add_aux_tm_device()622 aux_device->aux_dev.name = "adc5_tm_gen3"; in adc5_gen3_add_aux_tm_device()623 aux_device->aux_dev.dev.parent = adc->dev; in adc5_gen3_add_aux_tm_device()624 aux_device->aux_dev.dev.release = adc5_gen3_aux_device_release; in adc5_gen3_add_aux_tm_device()626 aux_device->tm_props = devm_kcalloc(adc->dev, adc->n_tm_channels, in adc5_gen3_add_aux_tm_device()627 sizeof(*aux_device->tm_props), in adc5_gen3_add_aux_tm_device()629 if (!aux_device->tm_props) in adc5_gen3_add_aux_tm_device()632 aux_device->dev_data = &adc->dev_data; in adc5_gen3_add_aux_tm_device()[all …]