aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/spi/spi-mem.c
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@foss.st.com>2021-02-05 19:59:27 +0100
committerMark Brown <broonie@kernel.org>2021-02-05 19:16:57 +0000
commit5a380b833ad437123dca91bf900a696709d9b6ab (patch)
treef46c291cfb198a4d36cd6be67a97ac1a33c4f8c4 /drivers/spi/spi-mem.c
parentspi: stm32: do not mandate cs_gpio (diff)
downloadwireguard-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