[PATCH 18/18] rtc: s5m: convert to dev_err_probe() where appropriate

Krzysztof Kozlowski krzk at kernel.org
Sun Mar 2 00:19:37 AEDT 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-s5m.c | 50 +++++++++++++++++++++------------------------


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

Best regards,
Krzysztof


More information about the Linux-aspeed mailing list