]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
auxdisplay: cfag12864bfb: code indent should use tabs where possible
authorHuiquan Deng <denghuiquan@cdjrlc.com>
Thu, 29 Jul 2021 06:39:10 +0000 (23:39 -0700)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 21 Oct 2021 22:13:16 +0000 (00:13 +0200)
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>
drivers/auxdisplay/cfag12864bfb.c

index 9e6681f19dc4d030288e75913c7378760a0d1303..0df474506fb927d9a9083d21328bf8d2d9451b02 100644 (file)
@@ -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;