diff options
| author | 2026-09-09 15:35:21 -0700 | |
|---|---|---|
| committer | 2026-09-25 15:29:25 +0200 | |
| commit | 5e73728a875a91fb2c7dc527f7391da0205f85b1 (patch) | |
| tree | c20616b71b898d9aebcd57871e362852032a332b /scripts/Makefile.thinlto | |
| parent | mtd: spinand: Fix spinand_manufacturer_ops kernel-doc (diff) | |
mtd: rawnand: ndfc: use devm_kasprintf for mtd name
Convert the mtd->name allocation from kasprintf() plus a manual kfree()
in the error path and in ndfc_remove() to the managed
devm_kasprintf() helper. The name is now released automatically with
the device, removing the need for explicit cleanup.
Assisted-by: opencode:hy3-free
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
