Commit beeefede authored by Gulsah Kose's avatar Gulsah Kose Committed by Peter P Waskiewicz Jr

staging: winbond: Moved trailing statement to next line

Fix checkpatch.pl issues with trailing statement to next line in wb35reg.c
Signed-off-by: default avatarGulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
parent 0a6088c3
...@@ -76,41 +76,111 @@ void Wb35Reg_Update(struct hw_data *pHwData, u16 RegisterNo, u32 RegisterValue) ...@@ -76,41 +76,111 @@ void Wb35Reg_Update(struct hw_data *pHwData, u16 RegisterNo, u32 RegisterValue)
{ {
struct wb35_reg *reg = &pHwData->reg; struct wb35_reg *reg = &pHwData->reg;
switch (RegisterNo) { switch (RegisterNo) {
case 0x3b0: reg->U1B0 = RegisterValue; break; case 0x3b0:
case 0x3bc: reg->U1BC_LEDConfigure = RegisterValue; break; reg->U1B0 = RegisterValue;
case 0x400: reg->D00_DmaControl = RegisterValue; break; break;
case 0x800: reg->M00_MacControl = RegisterValue; break; case 0x3bc:
case 0x804: reg->M04_MulticastAddress1 = RegisterValue; break; reg->U1BC_LEDConfigure = RegisterValue;
case 0x808: reg->M08_MulticastAddress2 = RegisterValue; break; break;
case 0x824: reg->M24_MacControl = RegisterValue; break; case 0x400:
case 0x828: reg->M28_MacControl = RegisterValue; break; reg->D00_DmaControl = RegisterValue;
case 0x82c: reg->M2C_MacControl = RegisterValue; break; break;
case 0x838: reg->M38_MacControl = RegisterValue; break; case 0x800:
case 0x840: reg->M40_MacControl = RegisterValue; break; reg->M00_MacControl = RegisterValue;
case 0x844: reg->M44_MacControl = RegisterValue; break; break;
case 0x848: reg->M48_MacControl = RegisterValue; break; case 0x804:
case 0x84c: reg->M4C_MacStatus = RegisterValue; break; reg->M04_MulticastAddress1 = RegisterValue;
case 0x860: reg->M60_MacControl = RegisterValue; break; break;
case 0x868: reg->M68_MacControl = RegisterValue; break; case 0x808:
case 0x870: reg->M70_MacControl = RegisterValue; break; reg->M08_MulticastAddress2 = RegisterValue;
case 0x874: reg->M74_MacControl = RegisterValue; break; break;
case 0x878: reg->M78_ERPInformation = RegisterValue; break; case 0x824:
case 0x87C: reg->M7C_MacControl = RegisterValue; break; reg->M24_MacControl = RegisterValue;
case 0x880: reg->M80_MacControl = RegisterValue; break; break;
case 0x884: reg->M84_MacControl = RegisterValue; break; case 0x828:
case 0x888: reg->M88_MacControl = RegisterValue; break; reg->M28_MacControl = RegisterValue;
case 0x898: reg->M98_MacControl = RegisterValue; break; break;
case 0x100c: reg->BB0C = RegisterValue; break; case 0x82c:
case 0x102c: reg->BB2C = RegisterValue; break; reg->M2C_MacControl = RegisterValue;
case 0x1030: reg->BB30 = RegisterValue; break; break;
case 0x103c: reg->BB3C = RegisterValue; break; case 0x838:
case 0x1048: reg->BB48 = RegisterValue; break; reg->M38_MacControl = RegisterValue;
case 0x104c: reg->BB4C = RegisterValue; break; break;
case 0x1050: reg->BB50 = RegisterValue; break; case 0x840:
case 0x1054: reg->BB54 = RegisterValue; break; reg->M40_MacControl = RegisterValue;
case 0x1058: reg->BB58 = RegisterValue; break; break;
case 0x105c: reg->BB5C = RegisterValue; break; case 0x844:
case 0x1060: reg->BB60 = RegisterValue; break; reg->M44_MacControl = RegisterValue;
break;
case 0x848:
reg->M48_MacControl = RegisterValue;
break;
case 0x84c:
reg->M4C_MacStatus = RegisterValue;
break;
case 0x860:
reg->M60_MacControl = RegisterValue;
break;
case 0x868:
reg->M68_MacControl = RegisterValue;
break;
case 0x870:
reg->M70_MacControl = RegisterValue;
break;
case 0x874:
reg->M74_MacControl = RegisterValue;
break;
case 0x878:
reg->M78_ERPInformation = RegisterValue;
break;
case 0x87C:
reg->M7C_MacControl = RegisterValue;
break;
case 0x880:
reg->M80_MacControl = RegisterValue;
break;
case 0x884:
reg->M84_MacControl = RegisterValue;
break;
case 0x888:
reg->M88_MacControl = RegisterValue;
break;
case 0x898:
reg->M98_MacControl = RegisterValue;
break;
case 0x100c:
reg->BB0C = RegisterValue;
break;
case 0x102c:
reg->BB2C = RegisterValue;
break;
case 0x1030:
reg->BB30 = RegisterValue;
break;
case 0x103c:
reg->BB3C = RegisterValue;
break;
case 0x1048:
reg->BB48 = RegisterValue;
break;
case 0x104c:
reg->BB4C = RegisterValue;
break;
case 0x1050:
reg->BB50 = RegisterValue;
break;
case 0x1054:
reg->BB54 = RegisterValue;
break;
case 0x1058:
reg->BB58 = RegisterValue;
break;
case 0x105c:
reg->BB5C = RegisterValue;
break;
case 0x1060:
reg->BB60 = RegisterValue;
break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment