diff options
author | Robert Abel <rabel@robertabel.eu> | 2018-02-10 00:50:12 +0100 |
---|---|---|
committer | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2018-04-12 19:02:43 +0200 |
commit | 9629ccca3b82491402ebbed8c03d34d32bb59d58 (patch) | |
tree | 021cd2ba163cbce5853fe904a71d70ed52b4bbb6 /drivers/auxdisplay | |
parent | 8c483758afe4f1dc34cb8319f36302aa31776ac9 (diff) | |
download | blackbird-obmc-linux-9629ccca3b82491402ebbed8c03d34d32bb59d58.tar.gz blackbird-obmc-linux-9629ccca3b82491402ebbed8c03d34d32bb59d58.zip |
auxdisplay: charlcd: replace octal literal with form-feed escape sequence
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>
Diffstat (limited to 'drivers/auxdisplay')
-rw-r--r-- | drivers/auxdisplay/charlcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/auxdisplay/charlcd.c b/drivers/auxdisplay/charlcd.c index b61cea36add5..ee39d1a85bf7 100644 --- 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; |