[PATCH 3/3] spi: spl022: use min_t() to improve code

Linus Walleij linus.walleij at linaro.org
Tue Aug 19 05:22:42 PDT 2025


On Fri, Aug 15, 2025 at 10:21 AM Qianfeng Rong <rongqianfeng at vivo.com> wrote:

> Use min_t() to reduce the code in setup_dma_scatter() and improve its
> readability.
>
> Signed-off-by: Qianfeng Rong <rongqianfeng at vivo.com>

Clever!
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list