From: Robert Abel Date: Fri, 9 Feb 2018 23:50:12 +0000 (+0100) Subject: auxdisplay: charlcd: replace octal literal with form-feed escape sequence X-Git-Tag: v4.18-rc1~102^2~6 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=9629ccca3b82491402ebbed8c03d34d32bb59d58;p=linux.git 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 Signed-off-by: Miguel Ojeda --- 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;