usb: gadget: dfu: add result for handle_getstatus()
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 16 Dec 2016 17:41:32 +0000 (18:41 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 26 Feb 2017 12:24:30 +0000 (13:24 +0100)
commitd428776657154f57b89913ffb0c5a23cb5b595f7
tree64a6dadc1761ccc14dab837f764866a215fa1493
parentf11bb2524541556682b83ee694829208b960b56c
usb: gadget: dfu: add result for handle_getstatus()

harmonize result with other handle_XXX() functions: return int for size
remove the define RET_STAT_LEN : no more necessary

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
drivers/usb/gadget/f_dfu.c
drivers/usb/gadget/f_dfu.h