[PATCH v1 0/6] pinctrl: cy8c95x0: A portion of cleanups

Andy Shevchenko posted 6 patches 1 year, 1 month ago
drivers/pinctrl/pinctrl-cy8c95x0.c | 142 +++++++++--------------------
1 file changed, 45 insertions(+), 97 deletions(-)
[PATCH v1 0/6] pinctrl: cy8c95x0: A portion of cleanups
Posted by Andy Shevchenko 1 year, 1 month ago
A portion of ad-hoc cleanups to the driver. Saves a few dozens of LoCs.

Andy Shevchenko (6):
  pinctrl: cy8c95x0: Use 2-argument strscpy()
  pinctrl: cy8c95x0: switch to using devm_regulator_get_enable()
  pinctrl: cy8c95x0: use flexible sleeping in reset function
  pinctrl: cy8c95x0: Use temporary variable for struct device
  pinctrl: cy8c95x0: embed iterator to the for-loop
  pinctrl: cy8c95x0: remove unneeded goto labels

 drivers/pinctrl/pinctrl-cy8c95x0.c | 142 +++++++++--------------------
 1 file changed, 45 insertions(+), 97 deletions(-)

-- 
2.47.0
Re: [PATCH v1 0/6] pinctrl: cy8c95x0: A portion of cleanups
Posted by Linus Walleij 1 year, 1 month ago
On Sun, Nov 10, 2024 at 10:00 PM Andy Shevchenko
<andy.shevchenko@gmail.com> wrote:

> A portion of ad-hoc cleanups to the driver. Saves a few dozens of LoCs.
>
> Andy Shevchenko (6):
>   pinctrl: cy8c95x0: Use 2-argument strscpy()
>   pinctrl: cy8c95x0: switch to using devm_regulator_get_enable()
>   pinctrl: cy8c95x0: use flexible sleeping in reset function
>   pinctrl: cy8c95x0: Use temporary variable for struct device
>   pinctrl: cy8c95x0: embed iterator to the for-loop
>   pinctrl: cy8c95x0: remove unneeded goto labels

I really like the patches so I merged them so we get some rotation in
linux-next.

Thanks Andy!

Yours,
Linus Walleij