summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuiquan Deng <denghuiquan@cdjrlc.com>2021-07-29 09:39:10 +0300
committerMiguel Ojeda <ojeda@kernel.org>2021-10-22 01:13:16 +0300
commit4e5d74fc6b044c4b0fa5b661e0a8652f08743223 (patch)
treee74f92931a09321e6a086ade41f3393f357a3ec4
parent1515b849f726f60dfff5c0bde2b0713cac26dd6c (diff)
downloadlinux-4e5d74fc6b044c4b0fa5b661e0a8652f08743223.tar.xz
auxdisplay: cfag12864bfb: code indent should use tabs where possible
Resolves the checkpatch error. Signed-off-by: Huiquan Deng <denghuiquan@cdjrlc.com> [reworded and avoid moving the line] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
-rw-r--r--drivers/auxdisplay/cfag12864bfb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/auxdisplay/cfag12864bfb.c b/drivers/auxdisplay/cfag12864bfb.c
index 9e6681f19dc4..0df474506fb9 100644
--- a/drivers/auxdisplay/cfag12864bfb.c
+++ b/drivers/auxdisplay/cfag12864bfb.c
@@ -38,8 +38,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,
@@ -67,7 +67,7 @@ static const struct fb_ops cfag12864bfb_ops = {
static int cfag12864bfb_probe(struct platform_device *device)
{
int ret = -EINVAL;
- struct fb_info *info = framebuffer_alloc(0, &device->dev);
+ struct fb_info *info = framebuffer_alloc(0, &device->dev);
if (!info)
goto none;