aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_request_layer.c
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2024-04-24 15:06:42 +0000
committerMark Brown <[email protected]>2024-05-03 02:09:22 +0000
commit11ae2e63b2a517742d233c4e5b67b898c797973e (patch)
tree137e8a90f966dc961cdf5890a44512d8552cd234 /drivers/platform/surface/aggregator/ssh_request_layer.c
parentspi: use 'time_left' instead of 'timeout' with (diff)
downloadkernel-11ae2e63b2a517742d233c4e5b67b898c797973e.tar.gz
kernel-11ae2e63b2a517742d233c4e5b67b898c797973e.zip
spi: dw: Convert to using BITS_TO_BYTES() macro
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. Signed-off-by: Serge Semin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions