Files
linux/drivers/pwm
Uwe Kleine-König 9320fc509b pwm: jz4740: Don't use dev_err_probe() in .request()
dev_err_probe() is only supposed to be used in probe functions. While it
probably doesn't hurt, both the EPROBE_DEFER handling and calling
device_set_deferred_probe_reason() are conceptually wrong in the request
callback. So replace the call by dev_err() and a separate return
statement.

This effectively reverts commit c0bfe9606e ("pwm: jz4740: Simplify
with dev_err_probe()").

Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: c0bfe9606e ("pwm: jz4740: Simplify with dev_err_probe()")
Cc: [email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
2024-01-12 18:25:05 +01:00
..
2023-10-13 10:07:17 +02:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00