Skip to content
Commit c47d9e1b authored by Enrico Weigelt's avatar Enrico Weigelt Committed by Linus Walleij
Browse files

gpio: just plain warning when nonexisting gpio requested



When trying to export an nonexisting gpio ID, the kernel prints out a
big warning w/ stacktrace, sounding like a huge problem. In fact it's
a pretty normal situation, like file or device not found.

So, just print a more relaxed warning instead.

changes v2: drop defining pr_fmt()

Signed-off-by: default avatarEnrico Weigelt <info@metux.net>
Link: https://lore.kernel.org/r/20201202133754.32045-1-info@metux.net


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e0822cf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment