summaryrefslogtreecommitdiff
path: root/lib/xarray.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 /lib/xarray.c
parent8ed4728eb9f10b57c3eb02e0f6933a89ffcb8a91 (diff)
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 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions