mac802154: use put and get unaligned functions
authorAlexander Aring <aar@pengutronix.de>
Fri, 4 Mar 2016 09:10:20 +0000 (10:10 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Mar 2016 18:51:28 +0000 (19:51 +0100)
commitf16089209e1029d45ae78dd238b6ab9b2c9a886c
tree1695e58aca8a4fbb3b6277c62876600519d0b826
parent75c6aca4765dbe3d0c1507ab5052f2e373dc2331
mac802154: use put and get unaligned functions

This patch removes the swap pointer and memmove functionality. Instead
we use the well known put/get unaligned access with specific byte order
handling.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Suggested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/mac802154.h