diff options
| author | Haotian Zhang <vulab@iscas.ac.cn> | 2025-11-04 18:08:41 +0800 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-11-17 11:52:17 +0100 |
| commit | 1f3dcfe5fcf57739b4a82811c12e55c48d794f86 (patch) | |
| tree | 6d93947356c2953d70277f6a425154941e237569 /tools/lib/python/kdoc/kdoc_re.py | |
| parent | 88fd4e4deae87fa66e0e00e2bf6a4c362d241215 (diff) | |
mtd: rawnand: lpc32xx_slc: Convert to use devm_gpiod_get_optional()
The initial fix for a GPIO descriptor leak added manual gpiod_put()
calls in the error path and remove function.
This follow-up patch improves upon the fix by switching to the
resource-managed devm_gpiod_get_optional() API.
Suggested-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
