greybus: remove unused version-response structs
These aren't used anymore and so can be removed. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
36e79dec96
commit
89210f64ba
@ -43,11 +43,6 @@ struct gb_battery {
|
||||
#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
|
||||
|
||||
struct gb_battery_proto_version_response {
|
||||
__u8 major;
|
||||
__u8 minor;
|
||||
};
|
||||
|
||||
/* Should match up with battery types in linux/power_supply.h */
|
||||
#define GB_BATTERY_TECH_UNKNOWN 0x0000
|
||||
#define GB_BATTERY_TECH_NiMH 0x0001
|
||||
|
@ -54,12 +54,6 @@ struct gb_gpio_controller {
|
||||
|
||||
#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 */
|
||||
struct gb_gpio_line_count_response {
|
||||
__u8 count;
|
||||
|
@ -42,12 +42,6 @@ struct gb_i2c_device {
|
||||
#define GB_I2C_RETRIES_DEFAULT 3
|
||||
#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 */
|
||||
struct gb_i2c_functionality_response {
|
||||
__le32 functionality;
|
||||
|
@ -41,12 +41,6 @@ struct gb_pwm_chip {
|
||||
#define GB_PWM_TYPE_DISABLE 0x08
|
||||
#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 */
|
||||
struct gb_pwm_count_response {
|
||||
__u8 count;
|
||||
|
@ -48,11 +48,6 @@
|
||||
#define GB_UART_TYPE_SERIAL_STATE 0x07 /* Unsolicited data */
|
||||
#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 {
|
||||
__le16 size;
|
||||
__u8 data[0];
|
||||
|
@ -31,11 +31,6 @@
|
||||
#define GB_USB_TYPE_GET_FRAME_NUMBER 0x08
|
||||
#define GB_USB_TYPE_HUB_STATUS_DATA 0x09
|
||||
|
||||
struct gb_usb_proto_version_response {
|
||||
__u8 major;
|
||||
__u8 minor;
|
||||
};
|
||||
|
||||
struct gb_usb_urb_enqueue_request {
|
||||
__le32 pipe;
|
||||
__le32 transfer_flags;
|
||||
|
@ -34,11 +34,6 @@ struct gb_vibrator_device {
|
||||
#define GB_VIBRATOR_TYPE_OFF 0x03
|
||||
#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 {
|
||||
__le16 timeout_ms;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user