Messages in this thread Patch in this message | | | From | Huiquan Deng <> | Subject | [PATCH] auxdisplay: code indent should use tabs where possible | Date | Thu, 29 Jul 2021 00:26:28 -0700 |
| |
Resolves the checkpatch error.
Signed-off-by: Huiquan Deng <denghuiquan@cdjrlc.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
| |