OSDN Git Service

Fix whitespace in drivers/tty/goldfish.c
authorRoman Kiryanov <rkir@google.com>
Fri, 6 Apr 2018 22:21:57 +0000 (15:21 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 7 Apr 2018 07:47:48 +0000 (07:47 +0000)
Change-Id: I5454fc73d9f8a9fbafc1e2ccd37fe45685cf64d7
Signed-off-by: Roman Kiryanov <rkir@google.com>
drivers/tty/goldfish.c

index c6ec9e6..01af1ae 100644 (file)
@@ -181,6 +181,7 @@ static void goldfish_tty_shutdown(struct tty_port *port)
 static int goldfish_tty_open(struct tty_struct *tty, struct file *filp)
 {
        struct goldfish_tty *qtty = &goldfish_ttys[tty->index];
+
        return tty_port_open(&qtty->port, tty, filp);
 }
 
@@ -210,6 +211,7 @@ static int goldfish_tty_chars_in_buffer(struct tty_struct *tty)
 {
        struct goldfish_tty *qtty = &goldfish_ttys[tty->index];
        void __iomem *base = qtty->base;
+
        return readl(base + GOLDFISH_TTY_REG_BYTES_READY);
 }