usb: gadget: mass_storage: use module_usb_composite_driver to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 28 Apr 2020 13:39:34 +0000 (13:39 +0000)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:40 +0000 (11:09 +0300)
commit46b11a91124d481ff4754ec624fc5393a515a361
treeb00e084814a9741a03c062e676e01bddd3a3621d
parent55ee1bf91d6301a979c2981d626d6255bb367bdd
usb: gadget: mass_storage: use module_usb_composite_driver to simplify the code

module_usb_composite_driver() makes the code simpler by
eliminating boilerplate code.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/legacy/mass_storage.c