Skip to content

Commit 2ddac5a

Browse files
metuxbrgl
authored andcommitted
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 <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 9ccaf10 commit 2ddac5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpiolib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ int gpiochip_add_data_with_key(struct gpio_chip *chip, void *data,
14441444

14451445
if (chip->ngpio > FASTPATH_NGPIO)
14461446
chip_warn(chip, "line cnt %u is greater than fast path cnt %u\n",
1447-
chip->ngpio, FASTPATH_NGPIO);
1447+
chip->ngpio, FASTPATH_NGPIO);
14481448

14491449
gdev->label = kstrdup_const(chip->label ?: "unknown", GFP_KERNEL);
14501450
if (!gdev->label) {

0 commit comments

Comments
 (0)