[PATCH 5/5] gpio: nomadik: drop "chip registered" log on probe success
Linus Walleij
linusw at kernel.org
Fri Jul 3 14:08:23 PDT 2026
On Thu, Jul 2, 2026 at 10:34 AM Théo Lebrun <theo.lebrun at bootlin.com> wrote:
> > I actually don't generally agree, but you are using this driver more than
> > me now so let's go with your minimalist dmesg style for this driver.
>
> I get from where you stand, but the info level is somewhat strong.
> Documentation/process/coding-style.rst agrees ("When drivers are
> working properly they are quiet").
>
> If you like this log line we can turn it into a lower debug level?
My actual preference for the record is not simple.
I prefer noisy talkative dmesg when the platform/system is new,
and new stuff is being added to the kernel in every release in
large chunks.
This is when things could go missing and cause regressions
and it's nice to see a "hello world" in dmesg.
As the platform matures and get full support in the kernel,
these can be dropped gradually, because the driver can be
trusted to probe properly.
So, not a simple yes/no position at all.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list