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

pinctrl: armada-37xx: 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 avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 06cb10ea
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