]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: rtl8192u: Fix braces placement and spacing
authorLukasz Faber <faber@agh.edu.pl>
Wed, 5 Jul 2017 09:45:09 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 06:41:02 +0000 (08:41 +0200)
Fixes the following checkpatch errors:
- open brace '{' following enum go on the same line
- space required after that close brace '}'

Signed-off-by: Lukasz Faber <faber@agh.edu.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_hw.h

index 174ccf618d3e74230396fc03bf391a8a5ff14d1c..00a123d44207b54c35a8eaaea4d330c9a1eaba9e 100644 (file)
 #ifndef R8192_HW
 #define R8192_HW
 
-typedef enum _VERSION_819xU{
+typedef enum _VERSION_819xU {
        VERSION_819xU_A, // A-cut
        VERSION_819xU_B, // B-cut
        VERSION_819xU_C,// C-cut
 } VERSION_819xU, *PVERSION_819xU;
 //added for different RF type
-typedef enum _RT_RF_TYPE_DEF
-{
+typedef enum _RT_RF_TYPE_DEF {
        RF_1T2R = 0,
        RF_2T4R,
 
        RF_819X_MAX_TYPE
-}RT_RF_TYPE_DEF;
+} RT_RF_TYPE_DEF;
 
 
-typedef enum _BaseBand_Config_Type{
+typedef enum _BaseBand_Config_Type {
        BaseBand_Config_PHY_REG = 0,                    //Radio Path A
        BaseBand_Config_AGC_TAB = 1,                    //Radio Path B
-}BaseBand_Config_Type, *PBaseBand_Config_Type;
+} BaseBand_Config_Type, *PBaseBand_Config_Type;
 #define        RTL8187_REQT_READ       0xc0
 #define        RTL8187_REQT_WRITE      0x40
 #define        RTL8187_REQ_GET_REGS    0x05