diff options
| author | Mark Brown <broonie@kernel.org> | 2026-04-22 15:10:22 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-22 15:10:22 +0100 |
| commit | 16ab65df5d867961a79cef366cdb33f09ebda603 (patch) | |
| tree | 74e80a279997b9554243678a368146e21a875f99 /rust/kernel | |
| parent | ad50f7bc5afefa3c2e013ae98511ead815b8f392 (diff) | |
| parent | a6e23843e949081b417b6078f02074074a190499 (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
