diff options
author | Michael Mogenson <michael.mogenson@leaflabs.com> | 2016-03-03 16:23:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-03 13:46:02 -0800 |
commit | 3522a09fa7df45b49c27997b419a20d9dcff8919 (patch) | |
tree | 1c75e5dc3010720f52fa33e24cb37af77ac30d38 /drivers/staging/greybus/greybus_protocols.h | |
parent | e494b580ea23a98f2f3b3507157c2d573240486c (diff) |
greybus: remove gb_i2c_retries_operation
Set retries operation was removed from the Greybus specification. Remove
gb_i2c_retries_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 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index f1b5cf6d0b87..b60c7dc0e6dc 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -495,21 +495,13 @@ struct gb_hid_input_report_request { /* Greybus i2c request types */ #define GB_I2C_TYPE_FUNCTIONALITY 0x02 -#define GB_I2C_TYPE_RETRIES 0x04 #define GB_I2C_TYPE_TRANSFER 0x05 -#define GB_I2C_RETRIES_DEFAULT 3 - /* functionality request has no payload */ struct gb_i2c_functionality_response { __le32 functionality; } __packed; -struct gb_i2c_retries_request { - __u8 retries; -} __packed; -/* retries response has no payload */ - /* * Outgoing data immediately follows the op count and ops array. * The data for each write (master -> slave) op in the array is sent |