greybus: es{1,2}: remove control endpoint field
authorFabien Parent <fparent@baylibre.com>
Wed, 2 Sep 2015 13:50:38 +0000 (15:50 +0200)
committerJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Sep 2015 14:28:11 +0000 (16:28 +0200)
commitf470ead894e3d33e70f62d43b8e255beb37f183b
treef6aebaa5847befdc817da08a510d5b70375ceaa9
parent24a6112fa53e8a08de21b063abb22d10c2595048
greybus: es{1,2}: remove control endpoint field

There is no need to store the endpoint number of the control requests since
the default control endpoint is used and the USB standard defines for it a fixed
endpoint number of 0.

Remove every instance of the field control_endpoint and replace it with a
hardcoded 0 value.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/es1.c
drivers/staging/greybus/es2.c