diff options
author | 2019-04-02 16:40:21 +0200 | |
---|---|---|
committer | 2019-04-03 11:23:33 +0700 | |
commit | 5a4df21e83710dea9c6c4636f3183090b018cbcc (patch) | |
tree | 15ff5c54a88561256af55a17551ab1a44e601917 /drivers/spi/spi-mem.c | |
parent | spi: spi-fsl-spi: automatically adapt bits-per-word in cpu mode (diff) | |
download | wireguard-linux-5a4df21e83710dea9c6c4636f3183090b018cbcc.tar.xz wireguard-linux-5a4df21e83710dea9c6c4636f3183090b018cbcc.zip |
spi: sh-msiof: Use BIT() and GENMASK()
Improve maintainability by converting the register bit, bitmask, and
bitfield definitions from hexadecimal constants to constructs using
BIT(), GENMASK(), or "val << shift".
Suggested-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mem.c')
0 files changed, 0 insertions, 0 deletions