projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038d3f8
)
Staging: xgifb: braces {} are not necessary for single statement in vb_setmode
author
Ebru Akagunduz
<
[email protected]
>
Mon, 7 Oct 2013 19:25:28 +0000
(22:25 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 8 Oct 2013 01:39:32 +0000
(18:39 -0700)
Fix checkpatch.pl issues with braces {} are not necessary
for single statement blocks in vb_setmode.c
Signed-off-by: Ebru Akagunduz <
[email protected]
>
Reviewed-by: Josh Triplett <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/xgifb/vb_setmode.c
patch
|
blob
|
history
diff --git
a/drivers/staging/xgifb/vb_setmode.c
b/drivers/staging/xgifb/vb_setmode.c
index 46dea3f1088805749a1a6a9b449117fb827fc91d..eed58f9a0ad5594ec25c361943b661f67efaaab9 100644
(file)
--- a/
drivers/staging/xgifb/vb_setmode.c
+++ b/
drivers/staging/xgifb/vb_setmode.c
@@
-5274,9
+5274,8
@@
void XGI_SenseCRT1(struct vb_device_info *pVBInfo)
outb(0x00, pVBInfo->P3c8);
- for (i = 0; i < 256 * 3; i++)
{
+ for (i = 0; i < 256 * 3; i++)
outb(0x0F, (pVBInfo->P3c8 + 1)); /* DAC_TEST_PARMS */
- }
mdelay(1);
@@
-5291,9
+5290,8
@@
void XGI_SenseCRT1(struct vb_device_info *pVBInfo)
/* avoid display something, set BLACK DAC if not restore DAC */
outb(0x00, pVBInfo->P3c8);
- for (i = 0; i < 256 * 3; i++)
{
+ for (i = 0; i < 256 * 3; i++)
outb(0, (pVBInfo->P3c8 + 1));
- }
xgifb_reg_set(pVBInfo->P3c4, 0x01, SR01);
xgifb_reg_set(pVBInfo->P3d4, 0x63, CR63);