diff options
| author | 2026-10-08 08:49:45 +0800 | |
|---|---|---|
| committer | 2026-10-08 09:46:00 +0200 | |
| commit | f52260f49b107fddbcf7c75f9cf2347a5031f0f7 (patch) | |
| tree | 3d52d7abff879d10b340339c5aae6de9db997d3d /scripts/Makefile.thinlto | |
| parent | regmap: cleanups for regcache and regmap init paths (diff) | |
regmap: debugfs: Use __free(kfree) for regmap_reg_ranges_read_file
Convert buf and entry in regmap_reg_ranges_read_file() from manual
kfree() to __free(kfree) scope-based cleanup. This eliminates the
goto error path and the manual kfree(buf) on entry allocation failure,
simplifying the function to use straight-line returns.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20261008-regmap-debugfs-fix-v1-1-3df2f25c01b6@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
