Re: [PATCH v2] PCI: kirin: Use devm_kasprintf()

From: Krzysztof Wilczyński
Date: Sat Dec 16 2023 - 22:09:05 EST


Hello,

> Use devm_kasprintf() instead of hand writing it.
> This saves the need of an intermediate buffer.
>
> There was also no reason to use the _const() version of devm_kstrdup().
> The string was known be not constant.

Applied to controller/kirin, thank you!

[1/1] PCI: kirin: Use devm_kasprintf() to dynamically allocate clock names
https://git.kernel.org/pci/pci/c/9f5077ef8f81

Krzysztof