mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
c650c00c10
commit
01a3f23c16
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue