greybus: remove unused version-response structs
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 21 Jan 2015 12:42:37 +0000 (18:12 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 22 Jan 2015 03:29:39 +0000 (11:29 +0800)
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>
drivers/staging/greybus/battery.c
drivers/staging/greybus/gpio.c
drivers/staging/greybus/i2c.c
drivers/staging/greybus/pwm.c
drivers/staging/greybus/uart.c
drivers/staging/greybus/usb.c
drivers/staging/greybus/vibrator.c

index c14f44b4e86ade19096341e1c8dc0d1a914002d5..b968d149741e17f3429d17653daa587d035a5c1a 100644 (file)
@@ -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
index a93583341811eec63c89f7958f840d8afd5e2b87..85d89b86d5f736861f9c18362a428a56dcb03d18 100644 (file)
@@ -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;
index 589691d057502ffb23143a924ee081989fc8c5c9..ca8891413c0e055701199a14b77929c757d02ced 100644 (file)
@@ -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;
index 7b725235857531d539c2022a628d3a40f8ce474a..e2ab6f5f610e980bb080a8f5c3bf7568bca033e1 100644 (file)
@@ -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;
index d0669ae2d4c166dfbff45771bcb2c47d86c7a85b..575ca568a4f1bcd82721e3ad7139aac824bdfe4a 100644 (file)
 #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];
index c66d7681d4b3595eddb0001384dab30ecc87ba9b..ff4556fb7dd5d329596412a2bea4ab0853500bb8 100644 (file)
 #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;
index 141ccdbf7b64455861265be139ccf0140a612bb3..b6ec9f2373bbad5c1a37e0b90548d5837e63a75b 100644 (file)
@@ -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;
 };