projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c48375
)
auxdisplay: charlcd: replace octal literal with form-feed escape sequence
author
Robert Abel
<rabel@robertabel.eu>
Fri, 9 Feb 2018 23:50:12 +0000
(
00:50
+0100)
committer
Miguel Ojeda
<miguel.ojeda.sandonis@gmail.com>
Thu, 12 Apr 2018 17:02:43 +0000
(19:02 +0200)
There is no need to resort to octal escape sequence for the form feed
character when an established escape sequence exists.
Signed-off-by: Robert Abel <rabel@robertabel.eu>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
drivers/auxdisplay/charlcd.c
patch
|
blob
|
history
diff --git
a/drivers/auxdisplay/charlcd.c
b/drivers/auxdisplay/charlcd.c
index
b61cea3
..
ee39d1a
100644
(file)
--- a/
drivers/auxdisplay/charlcd.c
+++ b/
drivers/auxdisplay/charlcd.c
@@
-556,7
+556,7
@@
static void charlcd_write_char(struct charlcd *lcd, char c)
/* back one char again */
lcd->ops->write_cmd(lcd, LCD_CMD_SHIFT);
break;
- case '\
014
':
+ case '\
f
':
/* quickly clear the display */
charlcd_clear_fast(lcd);
break;