diff options
author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-09-27 16:11:10 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-09-29 08:11:55 +0200 |
commit | eefe77fdc0de86480f5dbb6bc721396d82d095d3 (patch) | |
tree | 415bde0b111be041adf6112a1713184ff61a70f6 /sound/pci/asihpi/hpimsgx.c | |
parent | ALSA: dmaengine: increment buffer pointer atomically (diff) | |
download | linux-eefe77fdc0de86480f5dbb6bc721396d82d095d3.tar.xz linux-eefe77fdc0de86480f5dbb6bc721396d82d095d3.zip |
ALSA: sb: Use DIV_ROUND_UP() instead of open-coding it
Use DIV_ROUND_UP() instead of open-coding it, which intents and makes
it more clear what is going on for the casual reviewer.
The Coccinelle references Commit e4d8aef21403 ("ALSA: usb: Use
DIV_ROUND_UP() instead of open-coding it").
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/r/20220927141110.18033-1-shangxiaojing@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi/hpimsgx.c')
0 files changed, 0 insertions, 0 deletions