usb/gadget: f_mass_storage: use fsg_common_set_cdev in fsg_common_init
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Fri, 21 Jun 2013 09:30:51 +0000 (11:30 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:22 +0000 (11:44 +0900)
commitd49e7a7967904e85e2c582843277b9a0e6f34460
tree49aef8d2f1b26af521321e343603a48fbab8bf61
parent54e88660e471a24ae0d3b48b6f3e24e131b6071c
usb/gadget: f_mass_storage: use fsg_common_set_cdev 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