greybus: remove obsolete buffer-alignment requirement
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 7 Apr 2015 09:27:14 +0000 (11:27 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 7 Apr 2015 15:31:05 +0000 (17:31 +0200)
commitcbba76f5cdbc14d2ae415c6f949c7d725b06a27b
treee32bd7cf741ad85b6c946008299f6130ebe18654
parent564c72b1c6f753f562e42c2a30a5dc50c194be0f
greybus: remove obsolete buffer-alignment requirement

Remove unused and unnecessary buffer-alignment define that host driver
were supposed to use.

We can handle unaligned incoming buffers just fine by accessing the
operation-message header via a copy in the receive path, rather than
requiring host drivers to make sure the alignment is correct.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus.h