linux-IllusionX/sound/drivers
Lars-Peter Clausen 7095be6d2c ALSA: dummy: Use DIV_ROUND_UP() instead of open-coding it
Use DIV_ROUND_UP() instead of open-coding it. This documents intent
and makes it more clear what is going on for the casual reviewer.

Generated using the following the Coccinelle semantic patch.

// <smpl>
@@
expression x, y;
@@
-(((x) + (y) - 1) / (y))
+DIV_ROUND_UP(x, y)
// </smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20201223172229.781-7-lars@metafoo.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-12-25 09:11:50 +01:00
..
mpu401 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
opl3 Merge branch 'for-next' into for-linus 2020-08-03 08:10:08 +02:00
opl4 ALSA: opl4: More constification 2020-01-05 16:15:08 +01:00
pcsp ALSA: pcsp: Fix fall-through warnings for Clang 2020-11-21 09:29:25 +01:00
vx ALSA: vx: vx_pcm: remove redundant assignment 2020-09-03 09:28:01 +02:00
aloop.c ALSA: aloop: Use DIV_ROUND_UP() instead of open-coding it 2020-12-25 09:11:47 +01:00
dummy.c ALSA: dummy: Use DIV_ROUND_UP() instead of open-coding it 2020-12-25 09:11:50 +01:00
Kconfig sound: ac97: Remove sound driver for ancient platform 2020-05-28 23:24:34 +10:00
Makefile sound: ac97: Remove sound driver for ancient platform 2020-05-28 23:24:34 +10:00
mtpav.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
mts64.c ALSA: mts64: More constifications 2020-01-05 16:15:06 +01:00
portman2x4.c ALSA: portman2x4: fix repeated word 'if' 2020-10-06 18:08:19 +02:00
serial-u16550.c ALSA: serial-u16550: More constification 2020-01-05 16:15:08 +01:00
virmidi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00