diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-14 11:17:47 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-14 15:44:38 +0200 |
commit | 169f5312dc46deb986e368b6828bedbedd297f6e (patch) | |
tree | 65499556fecf727930f26370fd9ec3509a547b94 /drivers/spi/spi-imx.c | |
parent | spi: Kill spi_add_device_locked() (diff) | |
download | linux-169f5312dc46deb986e368b6828bedbedd297f6e.tar.xz linux-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-imx.c')
0 files changed, 0 insertions, 0 deletions