gpiolib: Join one line back for better readability
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Jul 2018 17:36:42 +0000 (20:36 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Jul 2018 08:17:35 +0000 (10:17 +0200)
One line in gpiolib_dbg_show() still fits 80 characters, so,
join it to be like that in order to increase readability.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c

index cbc071423f308b113cfdad2c3accdc758720f08a..2e2a6f8db4056673b7a6fbb54205caaa920bb6b8 100644 (file)
@@ -4278,9 +4278,7 @@ static void gpiolib_dbg_show(struct seq_file *s, struct gpio_device *gdev)
                seq_printf(s, " gpio-%-3d (%-20.20s|%-20.20s) %s %s %s",
                        gpio, gdesc->name ? gdesc->name : "", gdesc->label,
                        is_out ? "out" : "in ",
-                       chip->get
-                               ? (chip->get(chip, i) ? "hi" : "lo")
-                               : "?  ",
+                       chip->get ? (chip->get(chip, i) ? "hi" : "lo") : "?  ",
                        is_irq ? "IRQ" : "   ");
                seq_printf(s, "\n");
        }