diff options
author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-09-27 16:09:46 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-17 13:48:22 +0200 |
commit | c54402609820427ff6f725f9182216e7cfe7cfa7 (patch) | |
tree | 409028bc3438fd480594e207141f9fd8c3f03f5b /samples/watchdog | |
parent | ASoC: cs35l36: Use DIV_ROUND_UP() instead of open-coding it (diff) | |
download | linux-c54402609820427ff6f725f9182216e7cfe7cfa7.tar.xz linux-c54402609820427ff6f725f9182216e7cfe7cfa7.zip |
ASoC: wm8978: 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>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220927140948.17696-3-shangxiaojing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'samples/watchdog')
0 files changed, 0 insertions, 0 deletions