mirror of https://gitee.com/openkylin/linux.git
gpio: gpiolib: fix confusing indention
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>
This commit is contained in:
parent
9ccaf106c2
commit
2ddac5ae1e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue