diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-05-30 11:31:52 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-31 22:02:58 -0700 |
commit | 5e569115e9b9d4af631589b9d9cc5227a660b008 (patch) | |
tree | f9ac059112455235b2b07954fbbaeeb753b64fd3 /drivers/staging/greybus/greybus_protocols.h | |
parent | 5dad5c314b686ca84aa5477462fcfd2b1abcba46 (diff) | |
download | op-kernel-dev-5e569115e9b9d4af631589b9d9cc5227a660b008.zip op-kernel-dev-5e569115e9b9d4af631589b9d9cc5227a660b008.tar.gz |
greybus: Remove unused VERSION specific macros
We don't use these anymore. Drop them.
Note that some macro's specific to bridged PHY devices aren't removed in
the patch, as gbsim will break otherwise. They will be removed
separately.
Compile tested.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r-- | drivers/staging/greybus/greybus_protocols.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index ff371c4..6550f17 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -407,10 +407,6 @@ struct gb_bootrom_get_vid_pid_response { /* Power Supply */ -/* Version of the Greybus power supply protocol we support */ -#define GB_POWER_SUPPLY_VERSION_MAJOR 0x00 -#define GB_POWER_SUPPLY_VERSION_MINOR 0x01 - /* Greybus power supply request types */ #define GB_POWER_SUPPLY_TYPE_GET_SUPPLIES 0x02 #define GB_POWER_SUPPLY_TYPE_GET_DESCRIPTION 0x03 @@ -572,10 +568,6 @@ struct gb_power_supply_event_request { /* HID */ -/* Version of the Greybus hid protocol we support */ -#define GB_HID_VERSION_MAJOR 0x00 -#define GB_HID_VERSION_MINOR 0x01 - /* Greybus HID operation types */ #define GB_HID_TYPE_GET_DESC 0x02 #define GB_HID_TYPE_GET_REPORT_DESC 0x03 @@ -1243,10 +1235,6 @@ struct gb_svc_intf_mailbox_event_request { /* RAW */ -/* Version of the Greybus raw protocol we support */ -#define GB_RAW_VERSION_MAJOR 0x00 -#define GB_RAW_VERSION_MINOR 0x01 - /* Greybus raw request types */ #define GB_RAW_TYPE_SEND 0x02 @@ -1344,10 +1332,6 @@ struct gb_uart_serial_flush_request { /* Loopback */ -/* Version of the Greybus loopback protocol we support */ -#define GB_LOOPBACK_VERSION_MAJOR 0x00 -#define GB_LOOPBACK_VERSION_MINOR 0x01 - /* Greybus loopback request types */ #define GB_LOOPBACK_TYPE_PING 0x02 #define GB_LOOPBACK_TYPE_TRANSFER 0x03 @@ -1532,9 +1516,6 @@ struct gb_sdio_event_request { /* Camera */ -#define GB_CAMERA_VERSION_MAJOR 0x00 -#define GB_CAMERA_VERSION_MINOR 0x01 - /* Greybus Camera request types */ #define GB_CAMERA_TYPE_CAPABILITIES 0x02 #define GB_CAMERA_TYPE_CONFIGURE_STREAMS 0x03 @@ -1608,9 +1589,6 @@ struct gb_camera_metadata_request { /* Lights */ -#define GB_LIGHTS_VERSION_MAJOR 0x00 -#define GB_LIGHTS_VERSION_MINOR 0x01 - /* Greybus Lights request types */ #define GB_LIGHTS_TYPE_GET_LIGHTS 0x02 #define GB_LIGHTS_TYPE_GET_LIGHT_CONFIG 0x03 @@ -1782,11 +1760,6 @@ struct gb_lights_get_flash_fault_response { /* Audio */ -/* Version of the Greybus audio protocol we support */ -#define GB_AUDIO_VERSION_MAJOR 0x00 -#define GB_AUDIO_VERSION_MINOR 0x01 - -#define GB_AUDIO_TYPE_PROTOCOL_VERSION 0x01 #define GB_AUDIO_TYPE_GET_TOPOLOGY_SIZE 0x02 #define GB_AUDIO_TYPE_GET_TOPOLOGY 0x03 #define GB_AUDIO_TYPE_GET_CONTROL 0x04 |