[PATCH v1 17/19] pinctrl: st: Switch to use devm_kasprintf_strarray()

Linus Walleij linus.walleij at linaro.org
Tue Nov 9 03:34:23 PST 2021

On Fri, Nov 5, 2021 at 1:43 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:

> 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 at linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Linus Walleij

More information about the Linux-rockchip mailing list