Hi all, I guess by now the target outcome is clear to everybody, I want to prevent UDC drivers from touching any of gadget.dev.* fields because that's currently duplicated on all drivers. After these extra patches, no UDC driver touches gadget.dev at all. A few extra lines are deleted. I have pushed these to my 'testing' branch as well, please test. cheers. ps: after v3.9-rc1 is tagged, I plan to push this to my 'next' branch which means that these patches will reach linux-next early enough so that everybody manages to test their part. Felipe Balbi (49): usb: gadget: fsl_udc_core: remove unnecessary initializations usb: gadget: udc-core: initialize gadget->dev.driver usb: dwc3: gadget: don't touch gadget.dev.driver usb: gadget: amd5536udc: don't touch gadget.dev.driver usb: gadget: at91_udc: don't touch gadget.dev.driver usb: gadget: atmel_usba_udc: don't touch gadget.dev.driver usb: gadget: bcm63xx_udc: don't touch gadget.dev.driver usb: gadget: dummy_hcd: don't touch gadget.dev.driver usb: gadget: fsl_qe_udc: don't touch gadget.dev.driver usb: gadget: fsl_udc_core: don't touch gadget.dev.driver usb: gadget: fusb300_udc: don't touch gadget.dev.driver usb: gadget: goku_udc: don't touch gadget.dev.driver usb: gadget: imx_udc: don't touch gadget.dev.driver usb: gadget: lpc32xx_udc: don't touch gadget.dev.driver usb: gadget: m66592-udc: don't touch gadget.dev.driver usb: gadget: mv_u3d_core: don't touch gadget.dev.driver usb: gadget: mv_udc_core: don't touch gadget.dev.driver usb: gadget: net2272: don't touch gadget.dev.driver usb: gadget: net2280: don't touch gadget.dev.driver usb: gadget: omap_udc: don't touch gadget.dev.driver usb: gadget: pch_udc: don't touch gadget.dev.driver usb: gadget: pxa25x_udc: don't touch gadget.dev.driver usb: gadget: pxa27x_udc: don't touch gadget.dev.driver usb: gadget: s3c-hsotg: don't touch gadget.dev.driver usb: gadget: s3c-hsudc: don't touch gadget.dev.driver usb: gadget: s3c2410_udc: don't touch gadget.dev.driver usb: renesas: gadget: don't touch gadget.dev.driver usb: gadget: udc-core: introduce usb_add_gadget_udc_release() usb: chipidea: udc: don't assign gadget.dev.release directly usb: dwc3: gadget: don't assign gadget.dev.release directly usb: gadget: amd5536udc: don't assign gadget.dev.release directly usb: gadget: bcm63xx_udc: don't assign gadget.dev.release directly usb: gadget: dummy_hcd: don't assign gadget.dev.release directly usb: gadget: fsl_qe_udc: don't assign gadget.dev.release directly usb: gadget: fsl_udc_core: don't assign gadget.dev.release directly usb: gadget: fusb300_udc: don't assign gadget.dev.release directly usb: gadget: goku_udc: don't assign gadget.dev.release directly usb: gadget: m66592-udc: don't assign gadget.dev.release directly usb: gadget: mv_u3d_core: don't assign gadget.dev.release directly usb: gadget: mv_udc_core: don't assign gadget.dev.release directly usb: gadget: net2272: don't assign gadget.dev.release directly usb: gadget: net2280: don't assign gadget.dev.release directly usb: gadget: omap_udc: don't assign gadget.dev.release directly usb: gadget: pch_udc: don't assign gadget.dev.release directly usb: gadget: r8a66597-udc: don't assign gadget.dev.release directly usb: gadget: s3c-hsotg: don't assign gadget.dev.release directly usb: musb: gadget: don't assign gadget.dev.release directly usb: renesas: gadget: don't assign gadget.dev.release directly usb: gadget: udc-core: remove protection when setting gadget.dev.release drivers/usb/chipidea/udc.c | 12 ---------- drivers/usb/dwc3/gadget.c | 9 +------- drivers/usb/gadget/amd5536udc.c | 6 ++--- drivers/usb/gadget/at91_udc.c | 2 -- drivers/usb/gadget/atmel_usba_udc.c | 2 -- drivers/usb/gadget/bcm63xx_udc.c | 14 ------------ drivers/usb/gadget/dummy_hcd.c | 8 ------- drivers/usb/gadget/fsl_qe_udc.c | 6 ++--- drivers/usb/gadget/fsl_udc_core.c | 8 ++----- drivers/usb/gadget/fusb300_udc.c | 3 --- drivers/usb/gadget/goku_udc.c | 6 ++--- drivers/usb/gadget/imx_udc.c | 2 -- drivers/usb/gadget/lpc32xx_udc.c | 2 -- drivers/usb/gadget/m66592-udc.c | 3 --- drivers/usb/gadget/mv_u3d_core.c | 8 ------- drivers/usb/gadget/mv_udc_core.c | 7 ++---- drivers/usb/gadget/net2272.c | 6 ++--- drivers/usb/gadget/net2280.c | 7 ++---- drivers/usb/gadget/omap_udc.c | 7 ++---- drivers/usb/gadget/pch_udc.c | 6 ++--- drivers/usb/gadget/pxa25x_udc.c | 2 -- drivers/usb/gadget/pxa27x_udc.c | 2 -- drivers/usb/gadget/r8a66597-udc.c | 1 - drivers/usb/gadget/s3c-hsotg.c | 14 ------------ drivers/usb/gadget/s3c-hsudc.c | 3 --- drivers/usb/gadget/s3c2410_udc.c | 1 - drivers/usb/gadget/udc-core.c | 40 +++++++++++++++++++++++++++++----- drivers/usb/musb/musb_gadget.c | 8 ------- drivers/usb/renesas_usbhs/mod_gadget.c | 8 ------- include/linux/usb/gadget.h | 2 ++ 30 files changed, 56 insertions(+), 149 deletions(-) -- 1.8.1.rc1.5.g7e0651a -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html