diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-05 15:42:30 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-18 19:40:09 +0300 |
commit | 069d7796c95be726655319ec2639aa0d75809add (patch) | |
tree | 0d1805f6f976478ee7ad0925ac08d90fba25cafc /drivers/pinctrl/mvebu | |
parent | 0045028f318b58595596d7e53a88157923e83b0b (diff) | |
download | linux-069d7796c95be726655319ec2639aa0d75809add.tar.xz |
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>
Diffstat (limited to 'drivers/pinctrl/mvebu')
0 files changed, 0 insertions, 0 deletions