Skip to content

pinctrl: cy8c95x0: A portion of cleanups

Andy Shevchenko linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pinctrl: cy8c95x0: Use 2-argument strscpy()drivers/pinctrl/pinctrl-cy8c95x0.c+4 -40 replies
2/6pinctrl: cy8c95x0: switch to using devm_regulator_get_enable()drivers/pinctrl/pinctrl-cy8c95x0.c+11 -470 replies
3/6pinctrl: cy8c95x0: use flexible sleeping in reset functiondrivers/pinctrl/pinctrl-cy8c95x0.c+3 -40 replies
4/6pinctrl: cy8c95x0: Use temporary variable for struct devicedrivers/pinctrl/pinctrl-cy8c95x0.c+7 -60 replies
5/6pinctrl: cy8c95x0: embed iterator to the for-loopdrivers/pinctrl/pinctrl-cy8c95x0.c+15 -210 replies
6/6pinctrl: cy8c95x0: remove unneeded goto labelsdrivers/pinctrl/pinctrl-cy8c95x0.c+8 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.47.0