staging: kpc2000: introduce usage of __packed
authorFabian Krueger <fabian.krueger@fau.de>
Wed, 26 Jun 2019 07:35:21 +0000 (09:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jul 2019 07:19:27 +0000 (09:19 +0200)
commitecb87018bb76f4b9ba9081aa8fdbaa908456e652
tree5ad758abdf22b3b1e8007bf0670499545c10153a
parentc70c7284a058b0c1855d945027d0bb39acd21f5d
staging: kpc2000: introduce usage of __packed

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 <fabian.krueger@fau.de>
Signed-off-by: Michael Scheiderer <michael.scheiderer@fau.de>
Cc: <linux-kernel@i4.cs.fau.de>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000_spi.c