commit | 069d7796c95be726655319ec2639aa0d75809add | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Nov 05 14:42:30 2021 +0200 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Nov 18 18:40:09 2021 +0200 |
tree | 0d1805f6f976478ee7ad0925ac08d90fba25cafc | |
parent | 0045028f318b58595596d7e53a88157923e83b0b [diff] |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de>