[PATCH 17/18] rtc: max77686: use dev_err_probe() where appropriate

Krzysztof Kozlowski krzk at kernel.org
Sat Mar 1 05:18:37 PST 2025


On 28/02/2025 15:07, André Draszik wrote:
> dev_err_probe() exists to simplify code and harmonise error messages,
> there's no reason not to use it here.
> 
> Signed-off-by: André Draszik <andre.draszik at linaro.org>
> ---
>  drivers/rtc/rtc-max77686.c | 29 ++++++++++++-----------------
>  1 file changed, 12 insertions(+), 17 deletions(-)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list