For consistency reasons, use only type attributes for message packing.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
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 {
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;