]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: interface: use an enum for interface type
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 20 Jul 2016 14:40:20 +0000 (16:40 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 20 Jul 2016 17:16:54 +0000 (10:16 -0700)
commita212b7586712208804d3d51efa9fdf6e23b2480a
tree0b7e9a3c655c1ff196fac6ed14593d9c0c029b95
parent6633d80afbeecd91d5d786d6fbb32cdb8bc0a567
greybus: interface: use an enum for interface type

Use an enum for the interface type instead of using the SVC protocol
values directly.

Suggested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Sandeep Patil <sspatil@google.com>
Reviewed-by: Patrick Titiano <ptitiano@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h
drivers/staging/greybus/module.c