greybus: Drop protocol specific _PROTOCOL_VERSION and _INVALID macros
Greybus core supports protocol independent macros for this now, use
them.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c
index 5ff7cf3..452f81b 100644
--- a/drivers/staging/greybus/svc.c
+++ b/drivers/staging/greybus/svc.c
@@ -452,7 +452,7 @@
static int gb_svc_request_recv(u8 type, struct gb_operation *op)
{
switch (type) {
- case GB_SVC_TYPE_PROTOCOL_VERSION:
+ case GB_REQUEST_TYPE_PROTOCOL_VERSION:
return gb_svc_version_request(op);
case GB_SVC_TYPE_SVC_HELLO:
return gb_svc_hello(op);