diff options
author | 2021-02-05 19:59:27 +0100 | |
---|---|---|
committer | 2021-02-05 19:16:57 +0000 | |
commit | 5a380b833ad437123dca91bf900a696709d9b6ab (patch) | |
tree | f46c291cfb198a4d36cd6be67a97ac1a33c4f8c4 /drivers/spi/spi-mem.c | |
parent | spi: stm32: do not mandate cs_gpio (diff) | |
download | wireguard-linux-5a380b833ad437123dca91bf900a696709d9b6ab.tar.xz wireguard-linux-5a380b833ad437123dca91bf900a696709d9b6ab.zip |
spi: stm32: use bitfield macros
To avoid defining shift and mask separately and hand-coding the bit
manipulation, use the bitfield macros.
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/1612551572-495-4-git-send-email-alain.volmat@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mem.c')
0 files changed, 0 insertions, 0 deletions