[PATCH 3/8] staging: kpc2000: introduce usage of __packed

2019-06-26 Thread Fabian Krueger
Replaced __attribute__((packed)) with __packed. Both ways of attributing are equivalent, but being shorter, __packed should be preferred. This refactoring makes the core more readable. Signed-off-by: Fabian Krueger Signed-off-by: Michael Scheiderer Cc: ---

[PATCH 3/8] staging: kpc2000: introduce usage of __packed

2019-06-25 Thread Fabian Krueger
Replaced __attribute__((packed)) with __packed. Both ways of attributing are equivalent, but being shorter, __packed should be preferred. This refactoring makes the core more readable. Signed-off-by: Fabian Krueger Signed-off-by: Michael Scheiderer --- drivers/staging/kpc2000/kpc2000_spi.c | 6