commit | 3956d6c85f26b5dd59cc6d3bf85a6a7341c68518 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Nov 05 14:42:40 2021 +0200 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Nov 18 18:40:10 2021 +0200 |
tree | a33ab71bc1dbb3935ac3cf25ccb103933e6713a9 | |
parent | 3d4d3e0a7d67a9d49fb661c6ea3b51fc3696030f [diff] |
pinctrl: st: Switch to use devm_kasprintf_strarray() Since we have a generic helper, switch the module to use it. As a side effect, add check for the memory allocation failures and cleanup it either in error case or when driver is unloading. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>