staging: fbtft: Don't spam logs when probe is deferred
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 May 2021 17:21:11 +0000 (20:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:39 +0000 (11:19 +0200)
commit37667f6e57712cef5652fa67f1cbd1299e204d94
treeb3cdb37c28998db8173438018c5a1788ae6bfe0f
parentec03c2104365ead0a33627c05e685093eed3eaef
staging: fbtft: Don't spam logs when probe is deferred

When requesting GPIO line the probe can be deferred.
In such case don't spam logs with an error message.
This can be achieved by switching to dev_err_probe().

Fixes: c440eee1a7a1 ("Staging: fbtft: Switch to the gpio descriptor interface")
Cc: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210503172114.27891-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c