Commit 89210f64 authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: remove unused version-response structs

These aren't used anymore and so can be removed.
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 36e79dec
...@@ -43,11 +43,6 @@ struct gb_battery { ...@@ -43,11 +43,6 @@ struct gb_battery {
#define GB_BATTERY_TYPE_CAPACITY 0x09 // TODO - POWER_SUPPLY_PROP_CURRENT_MAX #define GB_BATTERY_TYPE_CAPACITY 0x09 // TODO - POWER_SUPPLY_PROP_CURRENT_MAX
#define GB_BATTERY_TYPE_SHUTDOWN_TEMP 0x0a // TODO - POWER_SUPPLY_PROP_TEMP_ALERT_MAX #define GB_BATTERY_TYPE_SHUTDOWN_TEMP 0x0a // TODO - POWER_SUPPLY_PROP_TEMP_ALERT_MAX
struct gb_battery_proto_version_response {
__u8 major;
__u8 minor;
};
/* Should match up with battery types in linux/power_supply.h */ /* Should match up with battery types in linux/power_supply.h */
#define GB_BATTERY_TECH_UNKNOWN 0x0000 #define GB_BATTERY_TECH_UNKNOWN 0x0000
#define GB_BATTERY_TECH_NiMH 0x0001 #define GB_BATTERY_TECH_NiMH 0x0001
......
...@@ -54,12 +54,6 @@ struct gb_gpio_controller { ...@@ -54,12 +54,6 @@ struct gb_gpio_controller {
#define GB_GPIO_DEBOUNCE_USEC_DEFAULT 0 /* microseconds */ #define GB_GPIO_DEBOUNCE_USEC_DEFAULT 0 /* microseconds */
/* version request has no payload */
struct gb_gpio_proto_version_response {
__u8 major;
__u8 minor;
};
/* line count request has no payload */ /* line count request has no payload */
struct gb_gpio_line_count_response { struct gb_gpio_line_count_response {
__u8 count; __u8 count;
......
...@@ -42,12 +42,6 @@ struct gb_i2c_device { ...@@ -42,12 +42,6 @@ struct gb_i2c_device {
#define GB_I2C_RETRIES_DEFAULT 3 #define GB_I2C_RETRIES_DEFAULT 3
#define GB_I2C_TIMEOUT_DEFAULT 1000 /* milliseconds */ #define GB_I2C_TIMEOUT_DEFAULT 1000 /* milliseconds */
/* version request has no payload */
struct gb_i2c_proto_version_response {
__u8 major;
__u8 minor;
};
/* functionality request has no payload */ /* functionality request has no payload */
struct gb_i2c_functionality_response { struct gb_i2c_functionality_response {
__le32 functionality; __le32 functionality;
......
...@@ -41,12 +41,6 @@ struct gb_pwm_chip { ...@@ -41,12 +41,6 @@ struct gb_pwm_chip {
#define GB_PWM_TYPE_DISABLE 0x08 #define GB_PWM_TYPE_DISABLE 0x08
#define GB_PWM_TYPE_RESPONSE 0x80 /* OR'd with rest */ #define GB_PWM_TYPE_RESPONSE 0x80 /* OR'd with rest */
/* version request has no payload */
struct gb_pwm_proto_version_response {
__u8 major;
__u8 minor;
};
/* pwm count request has no payload */ /* pwm count request has no payload */
struct gb_pwm_count_response { struct gb_pwm_count_response {
__u8 count; __u8 count;
......
...@@ -48,11 +48,6 @@ ...@@ -48,11 +48,6 @@
#define GB_UART_TYPE_SERIAL_STATE 0x07 /* Unsolicited data */ #define GB_UART_TYPE_SERIAL_STATE 0x07 /* Unsolicited data */
#define GB_UART_TYPE_RESPONSE 0x80 /* OR'd with rest */ #define GB_UART_TYPE_RESPONSE 0x80 /* OR'd with rest */
struct gb_uart_proto_version_response {
__u8 major;
__u8 minor;
};
struct gb_uart_send_data_request { struct gb_uart_send_data_request {
__le16 size; __le16 size;
__u8 data[0]; __u8 data[0];
......
...@@ -31,11 +31,6 @@ ...@@ -31,11 +31,6 @@
#define GB_USB_TYPE_GET_FRAME_NUMBER 0x08 #define GB_USB_TYPE_GET_FRAME_NUMBER 0x08
#define GB_USB_TYPE_HUB_STATUS_DATA 0x09 #define GB_USB_TYPE_HUB_STATUS_DATA 0x09
struct gb_usb_proto_version_response {
__u8 major;
__u8 minor;
};
struct gb_usb_urb_enqueue_request { struct gb_usb_urb_enqueue_request {
__le32 pipe; __le32 pipe;
__le32 transfer_flags; __le32 transfer_flags;
......
...@@ -34,11 +34,6 @@ struct gb_vibrator_device { ...@@ -34,11 +34,6 @@ struct gb_vibrator_device {
#define GB_VIBRATOR_TYPE_OFF 0x03 #define GB_VIBRATOR_TYPE_OFF 0x03
#define GB_VIBRATOR_TYPE_RESPONSE 0x80 /* OR'd with rest */ #define GB_VIBRATOR_TYPE_RESPONSE 0x80 /* OR'd with rest */
struct gb_vibrator_proto_version_response {
__u8 major;
__u8 minor;
};
struct gb_vibrator_on_request { struct gb_vibrator_on_request {
__le16 timeout_ms; __le16 timeout_ms;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment