r8169: make use of the unaligned access helpers
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 9 Jan 2021 22:53:26 +0000 (23:53 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Jan 2021 00:54:30 +0000 (16:54 -0800)
commitae1e82c6b74191e6119d39f26aa3248af74d867e
treea575298a262e38ec2aadb9609217a44c138583bf
parentb7501b9f46746adbe6d5aacd1f7eb74b154c87e0
r8169: make use of the unaligned access helpers

Instead of open-coding unaligned access let's use the predefined
unaligned access helpers.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/cfaf9176-e4f9-c32d-4d4d-e8fb52009f35@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c