Received: by 10.223.176.5 with SMTP id f5csp1263885wra; Fri, 9 Feb 2018 16:01:40 -0800 (PST) X-Google-Smtp-Source: AH8x224xuUqpdf5mfPCGSHdLhqNNA2rZb5f9k5cGydRNSYR1usOnXROmmJEj9I4wGjwQMGfWu7Kt X-Received: by 2002:a17:902:5688:: with SMTP id j8-v6mr4034805pli.423.1518220900551; Fri, 09 Feb 2018 16:01:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518220900; cv=none; d=google.com; s=arc-20160816; b=POxPZqv5gQI7Sfhpdq09p7I2Kve2SZZ0MF/4WV6wYXwb0b6SC10WjjCErYI3/b8JxA 4bbaqnZg7Wfmm/Ohp3LXux6I5ZLaMY2Xf/1f+VFuQgAVDyTUYhpKDPR568kpZdsu45y7 SWkvVJWElbK+GibU+jqTExMyCI6cXErrxV795tV6U+0oCFe/cOft5xNxxZeTtMQQ/cnT xWA4MsYqufEGzHONvf8K0Ex8o1yujq6luUkZVjCCr4cAApk20l0vuldp3jhjo+fn64x3 nn5fGcMdjIhTez2gD860V1UpE3As247NTcGiprgveLdUTTS0PfXZI1gOnAaEMcw+6IwH zaHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=6O+oHyXAV5ANvaCZ/xKrbBK3gZleNvqH1uw2xaZd+4E=; b=iqrbQv/lbO4CpKILe9oQCaAFhH5h/GlDvpk6choMtqBNLm/foNIIORTxEcYC9N7L55 8ZJ8vMY3cPbDJLtRTCxj0BJEMSz8ovaRZP+JTldQqRHAJCXQ9/hq5EbxY6VDDj2Wh+Ht 2lSExQoZC+R3zXQcRVbcTBwJ62JOVkRuBEBstYWOfDiQrm6En+MQU8aCBU1WOlVqvfrA pZOnALB2p/yt+vQae1LKK25LPY/4ANKkruR4lHg9zorbprHnA5L3eUo7UTXDiX/FSxpj syj5k+qrxx84JYj1gC6CPOwOlrO9GnAYyVzKpibmDrBf/IaIrAIVJVTv4jh2+4xv+Rht EZ5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13-v6si2215874pll.84.2018.02.09.16.01.26; Fri, 09 Feb 2018 16:01:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753369AbeBIX6o (ORCPT + 99 others); Fri, 9 Feb 2018 18:58:44 -0500 Received: from mxf98a.netcup.net ([46.38.249.138]:43894 "EHLO mxf98a.netcup.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753258AbeBIX6n (ORCPT ); Fri, 9 Feb 2018 18:58:43 -0500 X-Greylist: delayed 486 seconds by postgrey-1.27 at vger.kernel.org; Fri, 09 Feb 2018 18:58:42 EST Received: from buildbert.robertabel.eu (x4d077b85.dyn.telefonica.de [77.7.123.133]) by mxf98a.netcup.net (Postfix) with ESMTPSA id C3CEE1409D9; Sat, 10 Feb 2018 00:50:40 +0100 (CET) Authentication-Results: mxf98a; spf=pass (sender IP is 77.7.123.133) smtp.mailfrom=rabel@robertabel.eu smtp.helo=buildbert.robertabel.eu Received-SPF: pass (mxf98a: connection is authenticated) From: Robert Abel To: miguel.ojeda.sandonis@gmail.com Cc: linux-kernel@vger.kernel.org, Robert Abel Subject: [PATCH 3/3] auxdisplay: charlcd: replace octal literal with form-feed escape sequence Date: Sat, 10 Feb 2018 00:50:12 +0100 Message-Id: <20180209235012.4993-4-rabel@robertabel.eu> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180209235012.4993-3-rabel@robertabel.eu> References: <20180209235012.4993-1-rabel@robertabel.eu> <20180209235012.4993-2-rabel@robertabel.eu> <20180209235012.4993-3-rabel@robertabel.eu> X-PPP-Message-ID: <20180209235040.28635.65214@mxf98a.netcup.net> X-PPP-Vhost: robertabel.eu Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/auxdisplay/charlcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/auxdisplay/charlcd.c b/drivers/auxdisplay/charlcd.c index 92549c8344a4..a3486db03d81 100644 --- a/drivers/auxdisplay/charlcd.c +++ b/drivers/auxdisplay/charlcd.c @@ -555,7 +555,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; -- 2.11.0