mbox series

[v3,0/5] pinctrl: at91: Cleanups

Message ID 20230215134242.37618-1-andriy.shevchenko@linux.intel.com
Headers show
Series pinctrl: at91: Cleanups | expand

Message

Andy Shevchenko Feb. 15, 2023, 1:42 p.m. UTC
The kasprintf() patch makes me look into the driver code and besides
missed fix, there is a room to improve. Hence this series.

Compile tested only.

Changes in v3:
- added tags (Claudiu)
- dropped unrelated curly bracket change (Claudiu)

Changes in v2:
- fixed compilation errors (LKP)

Andy Shevchenko (5):
  pinctrl: at91: use devm_kasprintf() to avoid potential leaks (part 2)
  pinctrl: at91: Don't mix non-devm calls with devm ones
  pinctrl: at91: Use of_device_get_match_data()
  pinctrl: at91: Use dev_err_probe() instead of custom messaging
  pinctrl: at91: Utilise temporary variable for struct device

 drivers/pinctrl/pinctrl-at91.c | 161 ++++++++++++++-------------------
 1 file changed, 66 insertions(+), 95 deletions(-)