greybus: Add flags to struct gb_protocol
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 7 Sep 2015 10:31:24 +0000 (16:01 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 15 Sep 2015 04:19:46 +0000 (21:19 -0700)
commit5a5296bb8d67e90866d352b93ecce95d08b77fc0
treed6d31431ad854705253073817962bea52cbe1099
parentfb198317fd89ec02582ffd4ca318ec088d06c74e
greybus: Add flags to struct gb_protocol

This helps in removing special per-protocol code, with the help of
generic flags passed by protocol drivers.

Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/control.c
drivers/staging/greybus/protocol.h
drivers/staging/greybus/svc.c