diff options
| author | Griffin Kroah-Hartman <griffin@kroah.com> | 2026-07-07 16:22:17 +0200 |
|---|---|---|
| committer | David Heidelberg <david@ixit.cz> | 2026-07-26 21:26:05 +0200 |
| commit | 94de4f6c5ffdbaf073155aae86443b2f8b03ef93 (patch) | |
| tree | 73d5fed5b1022b8f1be447d3ca41fc16d999a0cd /fs/devpts/inode.c | |
| parent | f71129992e12b5d0f5119f980ff0290487488036 (diff) | |
| download | linux-next-94de4f6c5ffdbaf073155aae86443b2f8b03ef93.tar.gz linux-next-94de4f6c5ffdbaf073155aae86443b2f8b03ef93.zip | |
nfc: mrvl: spi: Unregister dev on allocation fail
Call nfcmrvl_nci_unregister_dev() if nci_spi_allocate_spi() fails,
unwrapping the previous call to nfcmrvl_nci_register_dev() during the
nfcmrvl_spi_probe() function.
Assisted-by: gkh-clanker-2000
Cc: David Heidelberg <david@ixit.cz>
Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/2026070716-crucial-slouchy-b8a9@gregkh
Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'fs/devpts/inode.c')
0 files changed, 0 insertions, 0 deletions
