gpio: gpiolib: fix confusing indention
authorEnrico Weigelt, metux IT consult <info@metux.net>
Sat, 4 Jan 2020 19:43:34 +0000 (20:43 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 6 Jan 2020 09:45:04 +0000 (10:45 +0100)
There's a confusing indention in gpiochip_add_data_with_key(), which
could be misinterpreted on a quick walkthrough. Fixing this in order
to improve code readability a bit.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpiolib.c

index 9913886ede904bb09e40cca32792a01b39bb2822..2d8182d4bda55f4e605f7711ee2355b3e8777e9c 100644 (file)
@@ -1444,7 +1444,7 @@ int gpiochip_add_data_with_key(struct gpio_chip *chip, void *data,
 
        if (chip->ngpio > FASTPATH_NGPIO)
                chip_warn(chip, "line cnt %u is greater than fast path cnt %u\n",
-               chip->ngpio, FASTPATH_NGPIO);
+                         chip->ngpio, FASTPATH_NGPIO);
 
        gdev->label = kstrdup_const(chip->label ?: "unknown", GFP_KERNEL);
        if (!gdev->label) {