summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-04-22 15:10:22 +0100
committerMark Brown <broonie@kernel.org>2026-04-22 15:10:22 +0100
commit16ab65df5d867961a79cef366cdb33f09ebda603 (patch)
tree74e80a279997b9554243678a368146e21a875f99 /rust/kernel
parentad50f7bc5afefa3c2e013ae98511ead815b8f392 (diff)
parenta6e23843e949081b417b6078f02074074a190499 (diff)
spi: fix resource leaks on device setup failure
Johan Hovold <johan@kernel.org> says: Make sure to call controller cleanup() if spi_setup() fails while registering a device to avoid leaking any resources allocated by setup().
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions