diff options
author | 2023-07-14 12:17:47 +0300 | |
---|---|---|
committer | 2023-07-14 14:44:38 +0100 | |
commit | 169f5312dc46deb986e368b6828bedbedd297f6e (patch) | |
tree | 65499556fecf727930f26370fd9ec3509a547b94 /drivers/spi/spi-qcom-qspi.c | |
parent | spi: Kill spi_add_device_locked() (diff) | |
download | linux-rng-169f5312dc46deb986e368b6828bedbedd297f6e.tar.xz linux-rng-169f5312dc46deb986e368b6828bedbedd297f6e.zip |
spi: Use BITS_TO_BYTES()
BITS_TO_BYTES() is the existing macro which takes care about full
bytes that may fully hold the given amount of bits. Use it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230714091748.89681-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-qcom-qspi.c')
0 files changed, 0 insertions, 0 deletions