diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-10-08 02:54:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-08 23:00:05 +0100 |
commit | f68fe8de360b9c441caf22f35557b4c9fd97dd84 (patch) | |
tree | eb8086241726d5832222453591b5899b19f826b0 /.clang-format | |
parent | 3bfd9103c7af07915a84a6849e718622936233c1 (diff) | |
download | linux-f68fe8de360b9c441caf22f35557b4c9fd97dd84.tar.bz2 |
spi: dw: Use an explicit set_cs assignment
Simplify the dw_spi_add_host() method a bit by replacing the currently
implemented default set_cs callback setting up and later having it
overwritten by a custom function with direct if-else-based callback
assignment.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20201007235511.4935-2-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions