Hermes Zhang 0b670b5411 Input: gpio-keys - filter gpio_keys -EPROBE_DEFER error messages
commit ae42f9288846 ("gpio: Return EPROBE_DEFER if gc->to_irq is NULL")
make gpiod_to_irq() possible to return -EPROBE_DEFER when the racing
happens. This causes the following error message to be printed:

    gpio-keys gpio_keys: Unable to get irq number for GPIO 0, error -517

Fix that by changing dev_err() to dev_err_probe()

Signed-off-by: Hermes Zhang <chenhuiz@axis.com>
Link: https://lore.kernel.org/r/20231229013657.692600-1-Hermes.Zhang@axis.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-12-28 23:44:55 -08:00
..
2022-09-29 16:25:42 -07:00
2023-02-25 15:01:32 -08:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00