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

pinctrl/rockchip: 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 avatarHeiko Stuebner <heiko@sntech.de>
parent 0045028f
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