aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-11-18 08:55:48 +0100
committerKrzysztof Wilczyński <[email protected]>2023-12-17 03:02:33 +0000
commit9f5077ef8f8157270f51f4ebd782c985d56d33c6 (patch)
treecee56717e2bda0d48fa95cccbc949ef32d2180a3 /drivers/fpga/altera-fpga2sdram.c
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
PCI: kirin: Use devm_kasprintf() to dynamically allocate clock names
Use devm_kasprintf() instead of open coding it. This saves the need of an intermediate buffer. There was also no reason to use devm_kstrdup_const() as string is known to be constant. [kwilczynski: commit log, and add missing Reviewed-by tag] Link: https://lore.kernel.org/linux-pci/1bad6879083a7d836c8a47418a0afa22485e8f69.1700294127.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions