Skip to content

Commit

Permalink
staging: sm7xxfb: Fix typos in sm7xxfb
Browse files Browse the repository at this point in the history
The below patch fixes some typos found in staging "sm7xxfb" while
reading through.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Justin P. Mattock authored and Greg Kroah-Hartman committed Jun 25, 2012
1 parent 6e23617 commit 7756d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/sm7xxfb/sm7xxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green,
case FB_VISUAL_DIRECTCOLOR:
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 (sfb->fb.var.bits_per_pixel == 16) {
Expand Down Expand Up @@ -996,7 +996,7 @@ static int smtcfb_pci_suspend(struct device *device)

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
*/
smtc_seqw(0x20, (smtc_seqr(0x20) | 0xc0));
Expand Down

0 comments on commit 7756d3e

Please sign in to comment.