Skip to content

Commit

Permalink
gpiolib: quiet gpiochip_add boot message noise
Browse files Browse the repository at this point in the history
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: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
H Hartley Sweeten authored and Grant Likely committed May 19, 2012
1 parent adf11b6 commit ee1c1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit ee1c1e7

Please sign in to comment.