aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2021-11-15 14:19:13 +0000
committerJonathan Cameron <[email protected]>2021-11-27 15:12:44 +0000
commitab1fb45579d876aee70eb736d3d9e6a9bacc798d (patch)
tree990e3d471c18b8cb8ed0005f6f0e389210ffb346 /drivers/iio/trigger/stm32-timer-trigger.c
parentiio: buffer-dma: Remove unused iio_buffer_block struct (diff)
downloadkernel-ab1fb45579d876aee70eb736d3d9e6a9bacc798d.tar.gz
kernel-ab1fb45579d876aee70eb736d3d9e6a9bacc798d.zip
iio: buffer-dma: Use round_down() instead of rounddown()
We know that the buffer's alignment will always be a power of two; therefore, we can use the faster round_down() macro. Signed-off-by: Paul Cercueil <[email protected]> Reviewed-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions