aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-09-22 17:22:04 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2025-09-29 17:55:40 +0200
commitfa1f26b48fe43195aa0ac4badf5651063590326f (patch)
tree1b8f22737c10053dac26801bdf13ab1435693602 /rust/helpers/helpers.c
parentmtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands (diff)
downloadlinux-rng-fa1f26b48fe43195aa0ac4badf5651063590326f.tar.xz
linux-rng-fa1f26b48fe43195aa0ac4badf5651063590326f.zip
mtd: rawnand: omap2: fix device leak on probe failure
Make sure to drop the reference to the elm device taken by of_find_device_by_node() during probe on errors and on driver unload. Fixes: 62116e5171e0 ("mtd: nand: omap2: Support for hardware BCH error correction.") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions