[PATCH v3 0/3] pinctrl: th1520: Improve code quality

Linus Walleij linus.walleij at linaro.org
Wed Oct 9 05:42:48 PDT 2024


On Wed, Oct 9, 2024 at 3:17 AM Drew Fustini <dfustini at tenstorrent.com> wrote:

> This series contains code quality improvements for the new TH1520
> pinctrl driver [1]:
>
>  - Fix smatch warning that the return value is not correctly set when an
>    unknown pin error occurs
>  - Linus suggested using guarded mutexs so I've converted the thp->mutex
>    lock to that usage.
>  - Linus also suggested using a scoped iterator for the DT for-each
>    child node loop: for_each_available_child_of_node_scoped.
>
> The series is based on the linusw devel branch [2].

Thanks Drew all three patches applied, excellent work as usual!

Yours,
Linus Walleij



More information about the linux-riscv mailing list