Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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;