mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-05 20:24:09 +08:00
staging: xgifb: fix alignment for if arguments
Reduce indentation of multi-line if-test arguments for better readability. Signed-off-by: Gargi Sharma <gs051095@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e35bf9b44d
commit
a33d506b72
@ -1740,7 +1740,7 @@ static void XGI_SetCRT2ECLK(unsigned short ModeIdIndex,
|
|||||||
xgifb_reg_and_or(pVBInfo->P3d4, 0x31, ~0x30,
|
xgifb_reg_and_or(pVBInfo->P3d4, 0x31, ~0x30,
|
||||||
(unsigned short) (0x10 * i));
|
(unsigned short) (0x10 * i));
|
||||||
if (!(pVBInfo->VBInfo & XGI_SetCRT2ToLCDA) &&
|
if (!(pVBInfo->VBInfo & XGI_SetCRT2ToLCDA) &&
|
||||||
!(pVBInfo->VBInfo & SetInSlaveMode)) {
|
!(pVBInfo->VBInfo & SetInSlaveMode)) {
|
||||||
xgifb_reg_set(pVBInfo->P3c4, 0x2e, di_0);
|
xgifb_reg_set(pVBInfo->P3c4, 0x2e, di_0);
|
||||||
xgifb_reg_set(pVBInfo->P3c4, 0x2f, di_1);
|
xgifb_reg_set(pVBInfo->P3c4, 0x2f, di_1);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user