diff options
| author | 2021-11-05 14:42:40 +0200 | |
|---|---|---|
| committer | 2021-11-18 18:40:10 +0200 | |
| commit | 3956d6c85f26b5dd59cc6d3bf85a6a7341c68518 (patch) | |
| tree | a33ab71bc1dbb3935ac3cf25ccb103933e6713a9 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | pinctrl: st: Convert to use dev_err_probe() (diff) | |
| download | linux-dev-3956d6c85f26b5dd59cc6d3bf85a6a7341c68518.tar.xz linux-dev-3956d6c85f26b5dd59cc6d3bf85a6a7341c68518.zip | |
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>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
