2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00

staging: xgifb: XGI_main_26.c Comment style modifications

Make comment style modifications.

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Walt Feasel 2016-11-17 00:39:08 -05:00 committed by Greg Kroah-Hartman
parent 20a035e2d8
commit d992148395

View File

@ -1064,7 +1064,7 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive,
break;
}
}
XGIfb_bpp_to_var(xgifb_info, var); /*update ARGB info*/
XGIfb_bpp_to_var(xgifb_info, var); /* update ARGB info */
dumpVGAReg(xgifb_info);
return 0;
@ -1688,7 +1688,7 @@ static int xgifb_probe(struct pci_dev *pdev,
xgifb_reg_set(XGISR, IND_SIS_PASSWORD, 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");
ret = -EIO;
goto error_disable;
@ -2028,9 +2028,7 @@ error:
return ret;
}
/*****************************************************/
/* PCI DEVICE HANDLING */
/*****************************************************/
/* -------------------- PCI DEVICE HANDLING -------------------- */
static void xgifb_remove(struct pci_dev *pdev)
{
@ -2054,9 +2052,7 @@ static struct pci_driver xgifb_driver = {
.remove = xgifb_remove
};
/*****************************************************/
/* MODULE */
/*****************************************************/
/* -------------------- MODULE -------------------- */
module_param(mode, charp, 0000);
MODULE_PARM_DESC(mode,