linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pinctrl: s32: driver improvements and generic struct use
@ 2023-03-14 13:46 Chester Lin
  2023-03-14 13:46 ` [PATCH 1/3] pinctrl: s32: refine error/return/config checks and simplify driver codes Chester Lin
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Chester Lin @ 2023-03-14 13:46 UTC (permalink / raw)
  To: Linus Walleij, Andy Shevchenko
  Cc: Chester Lin, NXP S32 Linux Team, linux-gpio, linux-kernel,
	linux-arm-kernel, Ghennadi Procopciuc, Andrei Stefanescu,
	Radu Pirea, Andreas Färber, Matthias Brugger

Hello,

This patch series contains some improvements for s32 pinctrl drivers suggested
by upstream[1], such as

  - Fix error shadowings and improve return value handlings.
  - Fix print format.
  - Remove unnecessary blanks.
  - Use proper macros and helpers to simplify codes.
  - Refactor config param parsing and remove config arguments that are never used.
  - Use generic struct pingroup and struct pinfunction to describe pin data.

Regards,
Chester

[1] https://lore.kernel.org/all/20230220023320.3499-1-clin@suse.com/

Chester Lin (3):
  pinctrl: s32: refine error/return/config checks and simplify driver
    codes
  pinctrl: s32cc: refactor pin config parsing
  pinctrl: s32cc: embed generic struct pingroup and pinfunction

 drivers/pinctrl/nxp/pinctrl-s32.h   |  22 +--
 drivers/pinctrl/nxp/pinctrl-s32cc.c | 283 ++++++++++++++++------------
 drivers/pinctrl/nxp/pinctrl-s32g2.c |   8 +-
 3 files changed, 168 insertions(+), 145 deletions(-)

-- 
2.37.3


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-03-17  3:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-14 13:46 [PATCH 0/3] pinctrl: s32: driver improvements and generic struct use Chester Lin
2023-03-14 13:46 ` [PATCH 1/3] pinctrl: s32: refine error/return/config checks and simplify driver codes Chester Lin
2023-03-14 17:08   ` Andy Shevchenko
2023-03-14 13:46 ` [PATCH 2/3] pinctrl: s32cc: refactor pin config parsing Chester Lin
2023-03-14 17:15   ` Andy Shevchenko
2023-03-14 13:46 ` [PATCH 3/3] pinctrl: s32cc: embed generic struct pingroup and pinfunction Chester Lin
2023-03-14 17:19   ` Andy Shevchenko
2023-03-14 17:21 ` [PATCH 0/3] pinctrl: s32: driver improvements and generic struct use Andy Shevchenko
2023-03-17  3:45   ` Chester Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).