regulator: anatop: Lower error message level for -EPROBE_DEFER
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 3 Mar 2020 13:44:12 +0000 (21:44 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 3 Mar 2020 14:31:48 +0000 (14:31 +0000)
commit788bfc6eb6912df40a31245566b3e5c99ea7a66a
tree49c3bc94ade0f930f4efa87f25558aa964f2416b
parent0cd71b9a43ad80f4d9a8bfde6ec6db8daf447029
regulator: anatop: Lower error message level for -EPROBE_DEFER

devm_regulator_register() could return -EPROBE_DEFER when trying to
get init data and NOT all resources are available at that time, for
this case, error message is better to be present for debug level ONLY.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Link: https://lore.kernel.org/r/1583243052-1930-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/anatop-regulator.c