greybus: es2: remove bulk_out array
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 17 Aug 2016 14:27:49 +0000 (16:27 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 2 Sep 2016 12:20:56 +0000 (14:20 +0200)
commit403074b50b66f1a6cd038bd9f60119d69916a928
treecf2153562b8e3adab7acc46e4f107334e65e5c8d
parent84d5077cae3e00611b7da6491f363e6ed95e073a
greybus: es2: remove bulk_out array

We only care about one bulk out endpoint, the first one, so remove
the pretense of keeping an array of these things.  Just grab the first
one in the list and run away!

Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c