greybus: operation: add gb_operation_sync_timeout helper
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 14 Jul 2015 13:43:37 +0000 (15:43 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 15 Jul 2015 19:39:13 +0000 (12:39 -0700)
commit129a06f541d3ff4228589b4b9f0a4681dafb0042
treed5c785b467b770707899a8fbf3e76443337379ae
parent4f2c08aba792d4c778774e90e47865718eb1b7f8
greybus: operation: add gb_operation_sync_timeout helper

Add gb_operation_sync_timeout convenience function, which allows drivers
to configure the operation timeout.

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