Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee1c1e7d authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Grant Likely
Browse files

gpiolib: quiet gpiochip_add boot message noise



The pr_info message in gpiochip_add gets displayed for every
gpiochip registered. When first bringing up a system this
information could be helpful but for normal use it's just a
bunch of noise. Change the message to a pr_debug.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent adf11b62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1093,7 +1093,7 @@ int gpiochip_add(struct gpio_chip *chip)
	if (status)
		goto fail;

	pr_info("gpiochip_add: registered GPIOs %d to %d on device: %s\n",
	pr_debug("gpiochip_add: registered GPIOs %d to %d on device: %s\n",
		chip->base, chip->base + chip->ngpio - 1,
		chip->label ? : "generic");