summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-11-11 09:37:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-17 19:48:46 +0100
commit8985814bb3732aaf7ce5bf892d2827bd4d854fc7 (patch)
tree0f80e10368f4258eb497a62fd9e4b8bfc1d04139 /drivers/nfc
parent9b35a6926c613457e0dce179871028a0aa6efb06 (diff)
downloadlinux-8985814bb3732aaf7ce5bf892d2827bd4d854fc7.tar.bz2
staging: r8188eu: convert rtw_xmit_resource_alloc() to common error logic
Convert the function rtw_xmit_resource_alloc() away from returning _FAIL or _SUCCESS which uses inverted error logic. Use the common error logic instead. Return 0 for success and negative values for failure. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20221111083733.3144-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions