[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210729063910.63984-1-denghuiquan@cdjrlc.com>
Date: Wed, 28 Jul 2021 23:39:10 -0700
From: Huiquan Deng <denghuiquan@...rlc.com>
To: ojeda@...nel.org
Cc: linux-kernel@...r.kernel.org, Huiquan Deng <denghuiquan@...rlc.com>
Subject: [PATCH] auxdisplay: code indent should use tabs where possible
Resolves the checkpatch error.
Signed-off-by: Huiquan Deng <denghuiquan@...rlc.com>
---
drivers/auxdisplay/cfag12864bfb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/auxdisplay/cfag12864bfb.c b/drivers/auxdisplay/cfag12864bfb.c
index d66821adf453..1e040e83d1c1 100644
--- a/drivers/auxdisplay/cfag12864bfb.c
+++ b/drivers/auxdisplay/cfag12864bfb.c
@@ -41,8 +41,8 @@ static const struct fb_var_screeninfo cfag12864bfb_var = {
.yres_virtual = CFAG12864B_HEIGHT,
.bits_per_pixel = 1,
.red = { 0, 1, 0 },
- .green = { 0, 1, 0 },
- .blue = { 0, 1, 0 },
+ .green = { 0, 1, 0 },
+ .blue = { 0, 1, 0 },
.left_margin = 0,
.right_margin = 0,
.upper_margin = 0,
@@ -69,8 +69,8 @@ static const struct fb_ops cfag12864bfb_ops = {
static int cfag12864bfb_probe(struct platform_device *device)
{
+ struct fb_info *info = framebuffer_alloc(0, &device->dev);
int ret = -EINVAL;
- struct fb_info *info = framebuffer_alloc(0, &device->dev);
if (!info)
goto none;
--
2.17.1
Powered by blists - more mailing lists