Commit 5b559e64 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: greybus_protocols: use only type attributes for message packing

For consistency reasons, use only type attributes for message packing.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 8bbd9edc
......@@ -277,8 +277,8 @@ struct gb_gpio_set_value_request {
struct gb_gpio_set_debounce_request {
__u8 which;
__le16 usec __packed;
};
__le16 usec;
} __packed;
/* debounce response has no payload */
struct gb_gpio_irq_type_request {
......@@ -336,9 +336,9 @@ struct gb_pwm_deactivate_request {
struct gb_pwm_config_request {
__u8 which;
__le32 duty __packed;
__le32 period __packed;
};
__le32 duty;
__le32 period;
} __packed;
struct gb_pwm_polarity_request {
__u8 which;
......
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