mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthias Wolf <der_wolf_@web.de>
To: devel@driverdev.osuosl.org
Cc: linux-kernel@i4.cs.fau.de, Matthias Wolf <der_wolf_@web.de>,
	Felix Siegel <felix.siegel@stud.uni-hannover.de>,
	Tim Cofala <cofala@stud.uni-hannover.de>,
	Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] staging: fbtft: Fix line continuation
Date: Mon, 16 Jul 2018 11:30:00 +0200	[thread overview]
Message-ID: <1531733420-25438-2-git-send-email-der_wolf_@web.de> (raw)
In-Reply-To: <1531733420-25438-1-git-send-email-der_wolf_@web.de>

Fix checkpatch warning: avoid unnecessary line continuation
to allow grepping of whole error message.

Signed-off-by: Matthias Wolf <der_wolf_@web.de>
Signed-off-by: Felix Siegel <felix.siegel@stud.uni-hannover.de>
Signed-off-by: Tim Cofala <cofala@stud.uni-hannover.de>
---
 drivers/staging/fbtft/fb_ssd1351.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/fbtft/fb_ssd1351.c b/drivers/staging/fbtft/fb_ssd1351.c
index b8ef75f..1b92691 100644
--- a/drivers/staging/fbtft/fb_ssd1351.c
+++ b/drivers/staging/fbtft/fb_ssd1351.c
@@ -126,16 +126,14 @@ static int set_gamma(struct fbtft_par *par, u32 *curves)
 	for (i = 0; i < 63; i++) {
 		if (i > 0 && curves[i] < 2) {
 			dev_err(par->info->device,
-				"Illegal value in Grayscale Lookup Table at index %d. " \
-				"Must be greater than 1\n", i);
+				"Illegal value in Grayscale Lookup Table at index %d. Must be greater than 1\n", i);
 			return -EINVAL;
 		}
 		acc += curves[i];
 		tmp[i] = acc;
 		if (acc > 180) {
 			dev_err(par->info->device,
-				"Illegal value(s) in Grayscale Lookup Table. " \
-				"At index=%d, the accumulated value has exceeded 180\n", i);
+				"Illegal value(s) in Grayscale Lookup Table. At index=%d, the accumulated value has exceeded 180\n", i);
 			return -EINVAL;
 		}
 	}
-- 
2.7.4


      reply	other threads:[~2018-07-16  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16  9:29 [PATCH 1/2] staging: fbtft: Fix line over 80 characters Matthias Wolf
2018-07-16  9:30 ` Matthias Wolf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1531733420-25438-2-git-send-email-der_wolf_@web.de \
    --to=der_wolf_@web.de \
    --cc=cofala@stud.uni-hannover.de \
    --cc=devel@driverdev.osuosl.org \
    --cc=felix.siegel@stud.uni-hannover.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@i4.cs.fau.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thomas.petazzoni@free-electrons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®