]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
gpio: mockup: be quiet unless something goes wrong
authorBartosz Golaszewski <brgl@bgdev.pl>
Thu, 25 May 2017 08:33:40 +0000 (10:33 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2017 11:28:58 +0000 (13:28 +0200)
commit01a3f23c166dc30f002e17c1ba9412a0390048d3
tree01df14fb0ad9810c9bf1098e072d55b000a53948
parentc650c00c102b2bcafb3b1f3f45e5b1e9e6f72e56
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>
drivers/gpio/gpio-mockup.c