Commit 7756d3e8 authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Greg Kroah-Hartman

staging: sm7xxfb: Fix typos in sm7xxfb

The below patch fixes some typos found in staging "sm7xxfb" while
reading through.
Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6e236172
...@@ -351,7 +351,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green, ...@@ -351,7 +351,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green,
case FB_VISUAL_DIRECTCOLOR: case FB_VISUAL_DIRECTCOLOR:
case FB_VISUAL_TRUECOLOR: case FB_VISUAL_TRUECOLOR:
/* /*
* 16/32 bit true-colour, use pseuo-palette for 16 base color * 16/32 bit true-colour, use pseudo-palette for 16 base color
*/ */
if (regno < 16) { if (regno < 16) {
if (sfb->fb.var.bits_per_pixel == 16) { if (sfb->fb.var.bits_per_pixel == 16) {
...@@ -996,7 +996,7 @@ static int smtcfb_pci_suspend(struct device *device) ...@@ -996,7 +996,7 @@ static int smtcfb_pci_suspend(struct device *device)
sfb = pci_get_drvdata(pdev); sfb = pci_get_drvdata(pdev);
/* set the hw in sleep mode use externel clock and self memory refresh /* set the hw in sleep mode use external clock and self memory refresh
* so that we can turn off internal PLLs later on * so that we can turn off internal PLLs later on
*/ */
smtc_seqw(0x20, (smtc_seqr(0x20) | 0xc0)); smtc_seqw(0x20, (smtc_seqr(0x20) | 0xc0));
......
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