summaryrefslogtreecommitdiffstats
path: root/drivers/staging/panel/panel.c
diff options
context:
space:
mode:
authorAdam Buchbinder2012-09-20 03:51:07 +0200
committerGreg Kroah-Hartman2012-09-21 17:56:40 +0200
commitf2635894e8e786d7c93a21f24efb690981d15842 (patch)
treeb96306899e90f2308ce35e328a5cb69b82ead61a /drivers/staging/panel/panel.c
parentstaging: fix silicom dependencies and build errors (diff)
downloadkernel-qcow2-linux-f2635894e8e786d7c93a21f24efb690981d15842.tar.gz
kernel-qcow2-linux-f2635894e8e786d7c93a21f24efb690981d15842.tar.xz
kernel-qcow2-linux-f2635894e8e786d7c93a21f24efb690981d15842.zip
staging: Fix misspellings of "whether".
"Whether" is spelled "wether" in several places. This fixes those that are in the staging tree. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/panel/panel.c')
-rw-r--r--drivers/staging/panel/panel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index f7426b44ee08..6e9f7090c451 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -1197,7 +1197,7 @@ static inline int handle_lcd_special_code(void)
break;
}
- /* Check wether one flag was changed */
+ /* Check whether one flag was changed */
if (oldflags != lcd_flags) {
/* check whether one of B,C,D flags were changed */
if ((oldflags ^ lcd_flags) &
@@ -1212,7 +1212,7 @@ static inline int handle_lcd_special_code(void)
lcd_write_cmd(0x30
| ((lcd_flags & LCD_FLAG_F) ? 4 : 0)
| ((lcd_flags & LCD_FLAG_N) ? 8 : 0));
- /* check wether L flag was changed */
+ /* check whether L flag was changed */
else if ((oldflags ^ lcd_flags) & (LCD_FLAG_L)) {
if (lcd_flags & (LCD_FLAG_L))
lcd_backlight(1);