summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/multi.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-07-09 18:09:55 +0200
committerFelipe Balbi <balbi@ti.com>2014-07-10 08:36:52 -0500
commit7ec3ea181d8cffb669982d79664f119ef6a71fc3 (patch)
tree1b21a6414f8be7bdc97d7a63ec2a6858942a2c05 /drivers/usb/gadget/multi.c
parentf0175ab51993d2dc2728e7b22a16ffb0c8f4cfa0 (diff)
usb: gadget: Add helper macro for usb_composite_driver boilerplate
Introduce the module_usb_composite_driver macro as a convenience macro for USB gadget composite driver modules, similar to module_usb_driver. It is intended to be used by drivers which init/exit section does nothing but calling usb_composite_probe/usb_composite_unrregister. By using this macro it is possible to eliminate a few lines of boilerplate code per USB gadget composite driver. Based on f3a6a4b6 ("USB: Add helper macro for usb_driver boilerplate") which introduced the according macro for USB drivers. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/multi.c')
0 files changed, 0 insertions, 0 deletions