Commit d9921483 authored by Walt Feasel's avatar Walt Feasel Committed by Greg Kroah-Hartman

staging: xgifb: XGI_main_26.c Comment style modifications

Make comment style modifications.
Signed-off-by: default avatarWalt Feasel <waltfeasel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 20a035e2
...@@ -1064,7 +1064,7 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive, ...@@ -1064,7 +1064,7 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive,
break; break;
} }
} }
XGIfb_bpp_to_var(xgifb_info, var); /*update ARGB info*/ XGIfb_bpp_to_var(xgifb_info, var); /* update ARGB info */
dumpVGAReg(xgifb_info); dumpVGAReg(xgifb_info);
return 0; return 0;
...@@ -1688,7 +1688,7 @@ static int xgifb_probe(struct pci_dev *pdev, ...@@ -1688,7 +1688,7 @@ static int xgifb_probe(struct pci_dev *pdev,
xgifb_reg_set(XGISR, IND_SIS_PASSWORD, SIS_PASSWORD); xgifb_reg_set(XGISR, IND_SIS_PASSWORD, SIS_PASSWORD);
reg1 = xgifb_reg_get(XGISR, IND_SIS_PASSWORD); reg1 = xgifb_reg_get(XGISR, IND_SIS_PASSWORD);
if (reg1 != 0xa1) { /*I/O error */ if (reg1 != 0xa1) { /* I/O error */
dev_err(&pdev->dev, "I/O error\n"); dev_err(&pdev->dev, "I/O error\n");
ret = -EIO; ret = -EIO;
goto error_disable; goto error_disable;
...@@ -2028,9 +2028,7 @@ static int xgifb_probe(struct pci_dev *pdev, ...@@ -2028,9 +2028,7 @@ static int xgifb_probe(struct pci_dev *pdev,
return ret; return ret;
} }
/*****************************************************/ /* -------------------- PCI DEVICE HANDLING -------------------- */
/* PCI DEVICE HANDLING */
/*****************************************************/
static void xgifb_remove(struct pci_dev *pdev) static void xgifb_remove(struct pci_dev *pdev)
{ {
...@@ -2054,9 +2052,7 @@ static struct pci_driver xgifb_driver = { ...@@ -2054,9 +2052,7 @@ static struct pci_driver xgifb_driver = {
.remove = xgifb_remove .remove = xgifb_remove
}; };
/*****************************************************/ /* -------------------- MODULE -------------------- */
/* MODULE */
/*****************************************************/
module_param(mode, charp, 0000); module_param(mode, charp, 0000);
MODULE_PARM_DESC(mode, MODULE_PARM_DESC(mode,
......
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