regulator: userspace-consumer: quiet device deferral
authorRobert Marko <robimarko@gmail.com>
Sun, 23 Jun 2024 14:09:35 +0000 (16:09 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jun 2024 12:39:19 +0000 (13:39 +0100)
commit61a98ffc2081ac1e9070150932d9eb91d3935cf8
tree081e6664ffd6db4394430b3b90ca4cbc7bb631f5
parent7bbb71150e57875126efacc2efdc678e3cede919
regulator: userspace-consumer: quiet device deferral

Trying to use userspace-consumer when the required supplies have not yet
been probed will throw an error message on deferral:
reg-userspace-consumer output-led-power: Failed to get supplies: -517

So, lets simply use dev_err_probe() instead of dev_err() to not print
errors in case when driver probe is being deferred.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Link: https://patch.msgid.link/20240623140947.1252376-1-robimarko@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/userspace-consumer.c