usb: gadget: f_fs: Fix loop variable
authorMario Schuknecht <mario.schuknecht@dresearch-fe.de>
Mon, 26 Jan 2015 19:40:21 +0000 (20:40 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Jan 2015 15:34:59 +0000 (09:34 -0600)
commitacba23fec527012e901636e4ba091ee25461c943
treed978d9ecd3bf2ac47ef56eb29ccd46224ffdabbc
parentdf6738d0d23321da834e9025845e26e09b0f6615
usb: gadget: f_fs: Fix loop variable

Use if-loop variable 'epfile' instead of start variable 'epfiles'. Now the
correct endpoint file name is stored.

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_fs.c