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

From: Linus Walleij
Date: Wed Oct 09 2024 - 08:43:19 EST


On Wed, Oct 9, 2024 at 3:17 AM Drew Fustini <dfustini@xxxxxxxxxxxxxxx> 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