Searched refs:the_udc_pdev (Results 1 – 1 of 1) sorted by relevance
2731 static struct platform_device *the_udc_pdev[MAX_NUM_UDC]; variable2762 the_udc_pdev[i] = platform_device_alloc(gadget_name, i); in init()2763 if (!the_udc_pdev[i]) { in init()2766 platform_device_put(the_udc_pdev[i--]); in init()2780 retval = platform_device_add_data(the_udc_pdev[i], &dum[i], in init()2815 retval = platform_device_add(the_udc_pdev[i]); in init()2819 platform_device_del(the_udc_pdev[i--]); in init()2825 if (!platform_get_drvdata(the_udc_pdev[i])) { in init()2838 platform_device_del(the_udc_pdev[i]); in init()2850 platform_device_put(the_udc_pdev[i]); in init()[all …]