diff options
author | Michael Mogenson <michael.mogenson@leaflabs.com> | 2016-03-03 16:23:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-03 13:46:02 -0800 |
commit | e494b580ea23a98f2f3b3507157c2d573240486c (patch) | |
tree | a3e57f46e4ea65850d235c624f75743461abc217 /drivers/staging/greybus/greybus_protocols.h | |
parent | c7733b6167750a42da81133189e9cca33ce7584f (diff) |
greybus: remove gb_i2c_timeout_operation
Set timeout operation was removed from the Greybus specification. Remove
gb_i2c_timeout_operation and all other no longer necessary code bits from the
Greybus kernel code.
Signed-off-by: Michael Mogenson <michael.mogenson@leaflabs.com>
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 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index f28391279555..f1b5cf6d0b87 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -495,23 +495,16 @@ struct gb_hid_input_report_request { /* Greybus i2c request types */ #define GB_I2C_TYPE_FUNCTIONALITY 0x02 -#define GB_I2C_TYPE_TIMEOUT 0x03 #define GB_I2C_TYPE_RETRIES 0x04 #define GB_I2C_TYPE_TRANSFER 0x05 #define GB_I2C_RETRIES_DEFAULT 3 -#define GB_I2C_TIMEOUT_DEFAULT 1000 /* milliseconds */ /* functionality request has no payload */ struct gb_i2c_functionality_response { __le32 functionality; } __packed; -struct gb_i2c_timeout_request { - __le16 msec; -} __packed; -/* timeout response has no payload */ - struct gb_i2c_retries_request { __u8 retries; } __packed; |