mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
staging: xgifb: vb_setmode: fix multiple line dereference
Fix multiple line dereference by adding a new line and adjusting indentations. This change improves code readability. Issue found by checkpatch. Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c471d7cca8
commit
e00c51d0c0
1 changed files with 3 additions and 2 deletions
|
|
@ -656,8 +656,9 @@ static void XGI_UpdateXG21CRTC(unsigned short ModeNo,
|
|||
(XGI330_RefIndex[RefreshRateTableIndex].Ext_CRT1CRTC ==
|
||||
RES640x480x60))
|
||||
index = 12;
|
||||
else if (ModeNo == 0x2E && (XGI330_RefIndex[RefreshRateTableIndex].
|
||||
Ext_CRT1CRTC == RES640x480x72))
|
||||
else if (ModeNo == 0x2E &&
|
||||
(XGI330_RefIndex[RefreshRateTableIndex].Ext_CRT1CRTC ==
|
||||
RES640x480x72))
|
||||
index = 13;
|
||||
else if (ModeNo == 0x2F)
|
||||
index = 14;
|
||||
|
|
|
|||
Loading…
Reference in a new issue