usb/gadget: f_mass_storage: use fsg_common_set_ops/_private_data in fsg_common_init
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Fri, 21 Jun 2013 09:29:58 +0000 (11:29 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:22 +0000 (11:44 +0900)
commit54e88660e471a24ae0d3b48b6f3e24e131b6071c
tree7414ed6f649ef049c32c3f22651ef54d3165dd47
parenteb184eb91153e0759a91b400fb74c18ad897f446
usb/gadget: f_mass_storage: use fsg_common_set_ops/_private_data in fsg_common_init

fsg_common_init is a lengthy function. Now there are helper functions
which cover all parts of it. Use them.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/usb/gadget/f_mass_storage.c