greybus: operation: add unidirectional-operation flag
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 1 Jul 2015 10:37:27 +0000 (12:37 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 1 Jul 2015 23:50:59 +0000 (16:50 -0700)
commite3398811c3c3b90501ca67c5de683953efe6cdde
treed6d4b52b817830cd0679ee9c985b2b987616e63e
parent710067e2ef42473c823fc8176ca9536b1a42c491
greybus: operation: add unidirectional-operation flag

Add flag to identify unidirectional operations.

Use convenience helper rather than open coding the identification when
suppressing response messages.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.h