Staging: rtl8723bs: Change values to standard error codes in functions
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Mon, 18 Mar 2019 23:12:34 +0000 (18:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Mar 2019 13:32:35 +0000 (14:32 +0100)
commitcfd587d6b1f79e19e71ca1b8c36f5e66e939f399
tree2ba25ace7c97bef70cec2eb10bc06a109fa14dad
parent91734498219640b29344659a825beaab6ee7ca1f
Staging: rtl8723bs: Change values to standard error codes in functions

Change values for standard error codes in functions rtw_init_cmd_priv and
rtw_init_evt_priv, as _SUCCESS should be 0 and _FAIL should be -ENOMEM.
Also, change the values in corresponding call sites of the functions.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c
drivers/staging/rtl8723bs/os_dep/os_intfs.c