pps: clients: gpio: Use dev_err_probe() to avoid log noise
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Mar 2021 13:03:16 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Mar 2021 07:26:31 +0000 (08:26 +0100)
commit1a8fc4f7e21ce786f8ebdf26d631e6f359ff9dfd
treeb961a68fd396ab4053d292a07a1c225376e9e016
parenta4780db3ad13b5381e0512b4507857390efea963
pps: clients: gpio: Use dev_err_probe() to avoid log noise

When GPIO APIs return -EPROBE_DEFER there is no need to print the message,
especially taking into consideration that it may repeat several times.
Use dev_err_probe() to avoid log noise in such cases.

Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210318130321.24227-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pps/clients/pps-gpio.c