summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/rtl871x_pwrctrl.h
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-07-22 12:23:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-25 10:52:00 +0300
commit8a73a8c4657013e02bd9e6db975e6c3584c158f8 (patch)
treec1f674cac23779de96e87dc39ba1d9548fd0291d /drivers/staging/rtl8712/rtl871x_pwrctrl.h
parent33972d48c2de0a77a5f482bb0728e62cb8420ca3 (diff)
downloadlinux-8a73a8c4657013e02bd9e6db975e6c3584c158f8.tar.xz
staging: rtl8712: r8712_set_key(): Change return values
Change return values of r8712_set_key from _SUCCESS and _FAIL to 0 and -ENOMEM or -EINVAL, as the case may require. Modify return statements and return variable accordingly. Change return type from sint to int. As there is only one site where the return value is used, update that call site according to the change in the return values. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190722092341.21030-3-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_pwrctrl.h')
0 files changed, 0 insertions, 0 deletions