staging: rtl8712: Replace function r8712_init_evt_priv()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Mon, 24 Jun 2019 05:48:55 +0000 (11:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jun 2019 02:00:08 +0000 (10:00 +0800)
commit795eb36899ae697d898adc98d208b0bdb222d956
treeb3747303d1594109a5fb9b447f9b94a464f77da5
parentd91674322d1b9ae28b678d3683d522b56f1f367d
staging: rtl8712: Replace function r8712_init_evt_priv()

Remove function r8712_init_evt_priv as all it does is call
_init_evt_priv.
Rename _init_evt_priv to r8712_init_evt_priv to maintain compatibility
with call sites.
Change type of new r8712_init_evt_priv from static to non-static as
original r8712_init_evt_priv was non-static.
Change return type of new r8712_init_evt_priv to int as original had
return type u32 but new (formerly _init_evt_priv) had return type sint.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_cmd.c
drivers/staging/rtl8712/rtl871x_cmd.h