aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-qcom-qspi.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-07-14 12:17:47 +0300
committerMark Brown <broonie@kernel.org>2023-07-14 14:44:38 +0100
commit169f5312dc46deb986e368b6828bedbedd297f6e (patch)
tree65499556fecf727930f26370fd9ec3509a547b94 /drivers/spi/spi-qcom-qspi.c
parentspi: Kill spi_add_device_locked() (diff)
downloadlinux-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