greybus: remove obsolete SVC result codes
authorMarti Bolivar <mbolivar@leaflabs.com>
Thu, 9 Jun 2016 21:46:47 +0000 (17:46 -0400)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 10 Jun 2016 00:21:09 +0000 (17:21 -0700)
The "busy" SVC result codes are gone from the spec. Delete them.

Testing Done: compile.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h

index 3c6415f..8b5563e 100644 (file)
@@ -1036,7 +1036,7 @@ struct gb_svc_intf_vsys_request {
 struct gb_svc_intf_vsys_response {
        __u8    result_code;
 #define GB_SVC_INTF_VSYS_OK                            0x00
-#define GB_SVC_INTF_VSYS_BUSY                          0x01
+       /* 0x01 is reserved */
 #define GB_SVC_INTF_VSYS_FAIL                          0x02
 } __packed;
 
@@ -1048,7 +1048,7 @@ struct gb_svc_intf_refclk_request {
 struct gb_svc_intf_refclk_response {
        __u8    result_code;
 #define GB_SVC_INTF_REFCLK_OK                          0x00
-#define GB_SVC_INTF_REFCLK_BUSY                                0x01
+       /* 0x01 is reserved */
 #define GB_SVC_INTF_REFCLK_FAIL                                0x02
 } __packed;
 
@@ -1060,7 +1060,7 @@ struct gb_svc_intf_unipro_request {
 struct gb_svc_intf_unipro_response {
        __u8    result_code;
 #define GB_SVC_INTF_UNIPRO_OK                          0x00
-#define GB_SVC_INTF_UNIPRO_BUSY                                0x01
+       /* 0x01 is reserved */
 #define GB_SVC_INTF_UNIPRO_FAIL                                0x02
 #define GB_SVC_INTF_UNIPRO_NOT_OFF                     0x03
 } __packed;