usb: gadget: mass_storage: Use static array for luns

This patch replace dynamicly allocated luns array with static one.
This simplifies the code of mass storage function and modules.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
This commit is contained in:
Krzysztof Opasiak 2015-07-31 13:46:07 +02:00 • committed by Felipe Balbi
commit dd02ea5a33
6 changed files with 50 additions and 113 deletions