Re: [PATCH 1/3] spi: dw: Convert to using BITS_TO_BYTES() macro

From: Andy Shevchenko
Date: Thu Feb 15 2024 - 14:28:40 EST


On Thu, Feb 15, 2024 at 09:00:46PM +0300, Serge Semin wrote:
> Since commit dd3e7cba1627 ("ocfs2/dlm: move BITS_TO_BYTES() to bitops.h
> for wider use") there is a generic helper available to calculate a number
> of bytes needed to accommodate the specified number of bits. Let's use it
> instead of the hard-coded DIV_ROUND_UP() macro function.

Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko