diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-05-25 10:33:40 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-29 13:28:58 +0200 |
commit | 01a3f23c166dc30f002e17c1ba9412a0390048d3 (patch) | |
tree | 01df14fb0ad9810c9bf1098e072d55b000a53948 /drivers/gpio | |
parent | c650c00c102b2bcafb3b1f3f45e5b1e9e6f72e56 (diff) | |
download | linux-01a3f23c166dc30f002e17c1ba9412a0390048d3.tar.bz2 |
gpio: mockup: be quiet unless something goes wrong
When inserting and removing the module repeatedly (e.g. when running
the libgpiod test-suite) the kernel log gets clobbered with messages
reporting successful creation of dummy gpiochips.
Remove this message and only emit logs when something bad happens.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-mockup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index b1ee45cd4302..c17578e3bd6f 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -364,9 +364,6 @@ static int gpio_mockup_probe(struct platform_device *pdev) return ret; } - - dev_info(dev, "gpio<%d..%d> add successful!", - base, base + ngpio); } return 0; |