Re: [PATCH] power: reset: nvmem-reboot-mode: quiet some device deferrals

From: Brian Masney
Date: Thu Aug 17 2023 - 19:42:18 EST


On Thu, Aug 17, 2023 at 04:41:57PM -0500, Andrew Halaney wrote:
> Some errors are being logged that are really due to deferrals,
> which is confusing to users. Use dev_err_probe() to handle when to log
> at error level versus debug. This also has the added bonuses of logging
> to devices_deferred and printing the error value.
>
> Signed-off-by: Andrew Halaney <ahalaney@xxxxxxxxxx>

Reviewed-by: Brian Masney <bmasney@xxxxxxxxxx>
Tested-by: Brian Masney <bmasney@xxxxxxxxxx>