[PATCH] mtd: rawnand: fsl_ifc: use devm_kasprintf for mtd name
Miquel Raynal
miquel.raynal at bootlin.com
Fri Sep 25 06:35:39 PDT 2026
On Wed, 09 Sep 2026 15:38:13 -0700, Rosen Penev wrote:
> Replace the manual kasprintf() in probe with devm_kasprintf() so the
> name is freed automatically on driver removal, and drop the now
> unnecessary kfree() in fsl_ifc_chip_remove() and its leftover mtd
> local.
>
>
Applied to nand/next, thanks!
[1/1] mtd: rawnand: fsl_ifc: use devm_kasprintf for mtd name
commit: 44c7b273e6b06fad31f2ca166307a41705ef15dd
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
More information about the linux-mtd
mailing list