staging: wilc1000: Merge memcpy + le32_to_cpus to get_unaligned_le32
authorChuhong Yuan <hslester96@gmail.com>
Thu, 25 Jul 2019 02:52:03 +0000 (10:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 07:48:14 +0000 (09:48 +0200)
commit7a047abbb6ef8ac0050f8f0aa6a668985fb75a2c
tree47f999401d450cb0952bce5fe9686354d233ed22
parent28771088953f548a637c01cd59b62f9ee3018824
staging: wilc1000: Merge memcpy + le32_to_cpus to get_unaligned_le32

Merge the combo use of memcpy and le32_to_cpus.
Use get_unaligned_le32 instead.
This simplifies the code.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20190725025203.8772-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_mon.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wlan.c