aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay
diff options
context:
space:
mode:
authorHuiquan Deng <denghuiquan@cdjrlc.com>2021-07-28 23:39:10 -0700
committerMiguel Ojeda <ojeda@kernel.org>2021-10-22 00:13:16 +0200
commit4e5d74fc6b044c4b0fa5b661e0a8652f08743223 (patch)
treee74f92931a09321e6a086ade41f3393f357a3ec4 /drivers/auxdisplay
parentauxdisplay: ht16k33: remove superfluous header files (diff)
downloadlinux-dev-4e5d74fc6b044c4b0fa5b661e0a8652f08743223.tar.xz
linux-dev-4e5d74fc6b044c4b0fa5b661e0a8652f08743223.zip
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>
Diffstat (limited to 'drivers/auxdisplay')
-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;