From: Sidong Yang Date: Mon, 14 May 2018 16:26:41 +0000 (+0000) Subject: staging: rtl8723bs: Fix checkpatch.pl errors X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9a38e23d00b39b926e3242aeb5d8f41daf1d46bf;p=linux.git staging: rtl8723bs: Fix checkpatch.pl errors Move open brace to same line with enum. Remove prohibited space before ','. Signed-off-by: Sidong Yang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h index 3cf0ba3f8f0d9..72df6cffe62e9 100644 --- a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h +++ b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h @@ -30,19 +30,18 @@ #define BTCOEX_ALIVE BIT(4) -enum Power_Mgnt -{ - PS_MODE_ACTIVE = 0 , - PS_MODE_MIN , - PS_MODE_MAX , - PS_MODE_DTIM , /* PS_MODE_SELF_DEFINED */ - PS_MODE_VOIP , - PS_MODE_UAPSD_WMM , - PS_MODE_UAPSD , - PS_MODE_IBSS , - PS_MODE_WWLAN , - PM_Radio_Off , - PM_Card_Disable , +enum Power_Mgnt { + PS_MODE_ACTIVE = 0, + PS_MODE_MIN, + PS_MODE_MAX, + PS_MODE_DTIM, /* PS_MODE_SELF_DEFINED */ + PS_MODE_VOIP, + PS_MODE_UAPSD_WMM, + PS_MODE_UAPSD, + PS_MODE_IBSS, + PS_MODE_WWLAN, + PM_Radio_Off, + PM_Card_Disable, PS_MODE_NUM, };