ASoC: rsnd: Use DIV_ROUND_UP() instead of open-coding it
authorShang XiaoJing <shangxiaojing@huawei.com>
Tue, 27 Sep 2022 14:09:47 +0000 (22:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 17 Oct 2022 11:48:22 +0000 (12:48 +0100)
commit4aa2b05a24a83cc618fab4c4d343f2179962e5ed
tree7098c773bcdc5d381ed45c3fcc6da5682341c1a9
parentc54402609820427ff6f725f9182216e7cfe7cfa7
ASoC: rsnd: 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/20220927140948.17696-4-shangxiaojing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c