diff options
author | 2022-09-28 16:43:23 +0200 | |
---|---|---|
committer | 2022-09-30 14:34:30 +0200 | |
commit | b933b6a2667a988e999fef92e7d4bf7a4f41eaff (patch) | |
tree | 40d76c4d3f9c9d0bdbeb10e35099149d36f0b513 /scripts/generate_rust_analyzer.py | |
parent | staging: r8188eu: convert ODM_ReadAndConfig_PHY_REG_1T_8188E() to int (diff) | |
download | wireguard-linux-b933b6a2667a988e999fef92e7d4bf7a4f41eaff.tar.xz wireguard-linux-b933b6a2667a988e999fef92e7d4bf7a4f41eaff.zip |
staging: r8188eu: convert ODM_ReadAndConfig_AGC_TAB_1T_8188E() to int
The function ODM_ReadAndConfig_AGC_TAB_1T_8188E() has return type
'enum HAL_STATUS'. Convert the return type to int and use common
kernel error logic. Return 0 on success and negative values on
failure. The enum HAL_STATUS is unused now and we can remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20220928144323.13164-5-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions