Thread (48 messages) 48 messages, 4 authors, 2025-11-17

Re: [PATCH v3 12/20] regulator: s2mps11: use dev_err_probe() where appropriate

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-11-04 08:41:48
Also in: linux-gpio, linux-samsung-soc, lkml

On 03/11/2025 20:14, André Draszik wrote:
dev_err_probe() exists to simplify code and harmonise error messages,
there's no reason not to use it here.

While at it, harmonise some error messages to add regulator name and ID
like in other messages in this driver, and update messages to be more
similar to other child-drivers of this PMIC (e.g. RTC).

Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
 drivers/regulator/s2mps11.c | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)


Reviewed-by: Krzysztof Kozlowski <redacted>

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help