Hi Greg, Here's the pull request for Gadget framework. Incredible this one also merged just fine ;-) The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: Linux 3.8-rc3 (2013-01-09 18:59:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/gadget-for-v3.9 for you to fetch changes up to eeef45876631a446eaedce16675f4ff344e16cf0: usb: gadget: constify all struct usb_gadget_ops (2013-01-24 21:11:35 +0200) ---------------------------------------------------------------- usb: gadget: patches for v3.9 merge window finally getting rid of the old ->start()/->stop() methods in favor of the better and improved ->udc_start()/->udc_stop(). There were surprisingly quite a few users left, but all of them have been converted. f_mass_storage removed some dead code, which is always great ;-) There's also a big cleanup to the gadget framework from Sebastian which gets us a lot closer to having only function drivers in kernel and move over to configfs-based binding. Other than these, there's the usual set of cleanups: s3c UDCs are moving over to devm_regulator_bulk_get() API, at91_udc removed an unnecessary check for work_pending() before scheduling and there's the removal of an unused variable from uac2_pcm_trigger(). ---------------------------------------------------------------- Andrzej Pietrasiewicz (1): usb: gadget: f_mass_storage: remove unused operations Armando Visconti (1): usb: gadget zero: avoid unnecessary reinit of data in f_sourcesink Chao Xie (6): usb: gadget: mv_udc: use udc_start and udc_stop functions usb: gadget: mv_udc: use devm_xxx for probe usb: gadget: mv_udc: fix the warning of mv_udc_remove usb: otg: mv_otg: use devm_xxx for probe usb: host: ehci-mv: remove unused variable usb: gadget: mv_udc: fix the value of tranceiver Felipe Balbi (14): usb: gadget: f_uac2: fix compile warning usb: gadget: fix two sparse warnings usb: gadget: amd5536udc: convert to udc_start/udc_stop usb: gadget: fusb300_udc: convert to udc_start/udc_stop usb: gadget: goku_udc: convert to udc_start/udc_stop usb: gadget: fsl_udc_core: convert to udc_start/udc_stop usb: gadget: m66592-udc: convert to udc_start/udc_stop usb: gadget: omap_udc: convert to udc_start/udc_stop usb: gadget: pch_udc: convert to udc_start/udc_stop usb: gadget: pxa25x_udc: convert to udc_start/udc_stop usb: gadget: pxa27x_udc: convert to udc_start/udc_stop usb: gadget: s3c2410: convert to udc_start/udc_stop usb: gadget: completely remove ->start/->stop usb: gadget: constify all struct usb_gadget_ops Jean-Christophe PLAGNIOL-VILLARD (1): USB: gadget: at91_adc: fix pullup pin validity check Michal Nazarewicz (1): usb: gadget: FunctionFS: Use kstrtoul() Sachin Kamat (2): usb: gadget: s3c-hsudc: Use devm_regulator_bulk_get usb: gadget: s3c-hsotg: Use devm_regulator_bulk_get API Sebastian Andrzej Siewior (26): usb: gadget: file_storage: remove its last pieces usb: gadget: ncm: make global variable ndp*_opts read only usb: gadget: mass_storage: remove >= 0 check for unsigned type usb: gadget: consider link speed for bMaxPower usb: gadget: composite: don't call driver's unbind() if bind() failed usb: gadget: remove u32 castings of address passed to readl() usb: gadget: provide a wrapper around SourceSink's setup function usb: gadget: move source sink's config descriptor out of f_sourcesink usb: gadget: move loopback's config descriptor out of f_loopback usb: gadget: add some infracture to register/unregister functions usb: gadget: convert source sink and loopback to new function interface usb: gadget: f_acm: remove empty function usb: gadget: g_serial: split the three possible functions into three bind functions usb: gadget: u_serial: convert into a module usb: gadget: composite: add usb_remove_function() usb: gadget: allocate & giveback serial ports instead hard code them usb: gadget: f_acm: convert to new function interface with backwards compatibility usb: gadget: acm_ms: use function framework for ACM usb: gadget: cdc2: use function framework for ACM usb: gadget: multi: use function framework for ACM usb: gadget: add a forward pointer from usb_function to its "instance" usb: gadget: udc-core: introduce UDC binding by name usb: gadget: factor out two helper functions from composite_bind() usb: gadget: export composite's setup & disconnect function usb: gadget: composite: introduce usb_gstrings_attach() usb: gadget: f_acm: use usb_gstrings_attach() Tejun Heo (1): usb: gadget: at91_udc: don't use [delayed_]work_pending() Wei Yongjun (1): usb: gadget: remove unused variable in uac2_pcm_trigger() drivers/usb/gadget/Kconfig | 20 ++ drivers/usb/gadget/Makefile | 8 +- drivers/usb/gadget/acm_ms.c | 42 +++-- drivers/usb/gadget/amd5536udc.c | 59 ++---- drivers/usb/gadget/amd5536udc.h | 2 + drivers/usb/gadget/at91_udc.c | 5 +- drivers/usb/gadget/cdc2.c | 36 +++- drivers/usb/gadget/composite.c | 326 +++++++++++++++++++++++++++------ drivers/usb/gadget/dbgp.c | 14 +- drivers/usb/gadget/f_acm.c | 153 +++++++++++----- drivers/usb/gadget/f_fs.c | 5 +- drivers/usb/gadget/f_loopback.c | 103 ++++++----- drivers/usb/gadget/f_mass_storage.c | 37 +--- drivers/usb/gadget/f_ncm.c | 18 +- drivers/usb/gadget/f_obex.c | 4 - drivers/usb/gadget/f_serial.c | 4 - drivers/usb/gadget/f_sourcesink.c | 200 ++++++++++++-------- drivers/usb/gadget/f_uac2.c | 9 +- drivers/usb/gadget/fsl_qe_udc.c | 2 +- drivers/usb/gadget/fsl_udc_core.c | 60 ++---- drivers/usb/gadget/functions.c | 116 ++++++++++++ drivers/usb/gadget/fusb300_udc.c | 67 ++----- drivers/usb/gadget/fusb300_udc.h | 2 + drivers/usb/gadget/g_zero.h | 35 +++- drivers/usb/gadget/gmidi.c | 2 +- drivers/usb/gadget/goku_udc.c | 70 ++----- drivers/usb/gadget/goku_udc.h | 1 + drivers/usb/gadget/m66592-udc.c | 72 ++------ drivers/usb/gadget/m66592-udc.h | 1 + drivers/usb/gadget/multi.c | 71 +++++-- drivers/usb/gadget/mv_udc_core.c | 246 ++++++++++--------------- drivers/usb/gadget/nokia.c | 43 +++-- drivers/usb/gadget/omap_udc.c | 51 ++---- drivers/usb/gadget/pch_udc.c | 67 ++----- drivers/usb/gadget/pxa25x_udc.c | 62 ++----- drivers/usb/gadget/pxa25x_udc.h | 1 + drivers/usb/gadget/pxa27x_udc.c | 61 ++---- drivers/usb/gadget/pxa27x_udc.h | 1 + drivers/usb/gadget/r8a66597-udc.c | 2 +- drivers/usb/gadget/s3c-hsotg.c | 7 +- drivers/usb/gadget/s3c-hsudc.c | 13 +- drivers/usb/gadget/s3c2410_udc.c | 65 ++----- drivers/usb/gadget/s3c2410_udc.h | 1 + drivers/usb/gadget/serial.c | 118 ++++++++++-- drivers/usb/gadget/storage_common.c | 61 ------ drivers/usb/gadget/u_serial.c | 313 +++++++++++++++---------------- drivers/usb/gadget/u_serial.h | 13 +- drivers/usb/gadget/udc-core.c | 157 +++++++--------- drivers/usb/gadget/webcam.c | 2 +- drivers/usb/gadget/zero.c | 233 +++++++++++++++-------- drivers/usb/host/ehci-mv.c | 1 - drivers/usb/otg/mv_otg.c | 82 +++------ drivers/usb/renesas_usbhs/mod_gadget.c | 2 +- include/linux/usb/composite.h | 75 +++++++- include/linux/usb/gadget.h | 13 +- 55 files changed, 1751 insertions(+), 1483 deletions(-) create mode 100644 drivers/usb/gadget/functions.c -- balbi
Attachment:
signature.asc
Description: Digital signature