diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-05 13:42:35 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-18 17:40:09 +0100 |
commit | b32b195d7f021f4c66a3de7b34ee648e56b824cd (patch) | |
tree | c2413bee0fdf2b50eb56f318baf071fe9c11354e /drivers/scsi/3w-xxxx.h | |
parent | pinctrl: armada-37xx: Convert to use dev_err_probe() (diff) | |
download | linux-b32b195d7f021f4c66a3de7b34ee648e56b824cd.tar.xz linux-b32b195d7f021f4c66a3de7b34ee648e56b824cd.zip |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'drivers/scsi/3w-xxxx.h')
0 files changed, 0 insertions, 0 deletions