]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: dw: Use spi_bpw_to_bytes() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 17 Apr 2025 15:24:47 +0000 (18:24 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 17 Apr 2025 16:30:41 +0000 (17:30 +0100)
commite30b7a75666b3f444abfabed6a144642fa9994d8
tree06510fb3ba2cfc20b9e38719713adbd20a0960e0
parent163ddf1fea590229c30a8dc4c29ff4febfb895c3
spi: dw: Use spi_bpw_to_bytes() helper

Use existing helper to get amount of bytes (as power-of-two value)
from bits per word.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250417152529.490582-3-andriy.shevchenko@linux.intel.com
Acked-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-core.c