Skip to content
Commit 3956d6c8 authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3d4d3e0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment