Geert Uytterhoeven 8dd7169860
spi: rspi: Clean up Bit Rate Division Setting handling
Add a macro for configuring the Bit Rate Division Setting field in
Command Registers, instead of open-coding the same operation using a
hardcoded shift.
Rename "div" to "brdv", as it is not a plain divider value, but controls
a power-of-two divider.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200819125904.20938-3-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-08-20 22:38:12 +01:00
..
2020-06-24 16:37:47 +01:00
2020-07-17 16:38:47 +01:00
2020-08-03 20:08:51 -07:00
2020-08-06 14:27:31 -07:00
2020-07-14 17:29:40 +01:00
2020-05-25 13:25:34 +01:00
2020-03-17 13:20:16 +00:00
2020-07-14 17:38:46 +01:00
2020-06-16 00:38:38 +01:00
2020-08-17 12:43:02 +01:00
2020-07-28 17:29:28 +01:00