[PATCH -next 1/4] ASoC: cs35l36: Use DIV_ROUND_UP() instead of open-coding it

Charles Keepax ckeepax at opensource.cirrus.com
Thu Sep 29 11:07:39 CEST 2022


On Tue, Sep 27, 2022 at 10:09:45PM +0800, Shang XiaoJing wrote:
> 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 at huawei.com>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list