greybus: spi: move chipselect to one byte size
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 10 Dec 2015 14:24:58 +0000 (14:24 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 10 Dec 2015 14:54:18 +0000 (09:54 -0500)
commit50014e0774b25666ebdeb537964527e0b9c95c13
tree00e9514dde5ae1d9e60c108d977c3272019c2e66
parenta75fd8ba5c8c263d2d0341123822c769e7d95918
greybus: spi: move chipselect to one byte size

Fixed in the specification, some values for chipselect count and index
were different in size, just fix that for all reference to chipselect
and move all to one byte size and remove byte order operations.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/spi.c