summaryrefslogtreecommitdiff
path: root/src/smi_501.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-02 15:48:51 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-02 15:48:51 -0300
commit973f68bf0464c4d2aec2acf7c8e6db201782f4ec (patch)
tree6b126385a6ed52871928772f69bd4346e9b5c192 /src/smi_501.c
parent82e17c442c3969938435a8b46d2679995af64425 (diff)
Rewrite some macros to not have side effects in if/else nesting.
Diffstat (limited to 'src/smi_501.c')
-rw-r--r--src/smi_501.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smi_501.c b/src/smi_501.c
index 38cb966..19f6368 100644
--- a/src/smi_501.c
+++ b/src/smi_501.c
@@ -312,7 +312,7 @@ SMI501_ModeInit(ScrnInfoPtr pScrn, DisplayModePtr xf86mode)
}
if (pSmi->lcd) {
- /* P2CLK can have dividers 1, 3 and 5 */
+ /* P2CLK have dividers 1, 3 and 5 */
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, VERBLEV,
"Clock request %5.2f (max_divider %d)\n",
(double)xf86mode->Clock, 5);
@@ -405,7 +405,7 @@ SMI501_ModeInit(ScrnInfoPtr pScrn, DisplayModePtr xf86mode)
xf86mode->VSyncStart;
}
else {
- /* V2CLK can have dividers 1 and 3 */
+ /* V2CLK have dividers 1 and 3 */
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, VERBLEV,
"Clock request %5.2f (max_divider %d)\n",
(double)xf86mode->Clock, 3);