net: usb: Merge cpu_to_le32s + memcpy to put_unaligned_le32
authorChuhong Yuan <hslester96@gmail.com>
Mon, 22 Jul 2019 07:41:34 +0000 (15:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 03:44:14 +0000 (20:44 -0700)
commit7e24b4ed5ac4321e41415b0c6f0f8a8ac14852b2
treed7766a24d4fbfbf1a00922984ad6c1f3ad4bf4cd
parentfcd4e60885af969d190999a6c42454c5578d52f1
net: usb: Merge cpu_to_le32s + memcpy to put_unaligned_le32

Merge the combo uses of cpu_to_le32s and memcpy.
Use put_unaligned_le32 instead.
This simplifies the code.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix_common.c
drivers/net/usb/ax88179_178a.c
drivers/net/usb/lan78xx.c
drivers/net/usb/smsc75xx.c
drivers/net/usb/sr9800.c