mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
This commit is contained in:
parent
8c483758af
commit
9629ccca3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue