kernel_samsung_a53x/drivers/pwm
Uwe Kleine-König aca6f2f15c pwm: jz4740: Don't use dev_err_probe() in .request()
commit 9320fc509b87b4d795fb37112931e2f4f8b5c55f upstream.

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 c0bfe9606e03 ("pwm: jz4740: Simplify
with dev_err_probe()").

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240106141302.1253365-2-u.kleine-koenig@pengutronix.de
Fixes: c0bfe9606e03 ("pwm: jz4740: Simplify with dev_err_probe()")
Cc: stable@vger.kernel.org
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:12:47 +01:00
..
core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-ab8500.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-atmel-hlcdc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-atmel-tcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-atmel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-bcm-iproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-bcm-kona.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-bcm2835.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-berlin.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-brcmstb.c pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume 2024-11-18 11:43:07 +01:00
pwm-clps711x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-crc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-cros-ec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-ep93xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-fsl-ftm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-hibvt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-img.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-imx-tpm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-imx1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-imx27.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-iqs620a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-jz4740.c pwm: jz4740: Don't use dev_err_probe() in .request() 2024-11-18 12:12:47 +01:00
pwm-lp3943.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpc18xx-sct.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpc32xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpss-pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpss-platform.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-lpss.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-mediatek.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-meson.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-mtk-disp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-mxs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-omap-dmtimer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-pca9685.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-pxa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-rcar.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-renesas-tpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-rockchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-samsung.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sifive.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sl28cpld.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-spear.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sprd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sti.c pwm: sti: Reduce number of allocations and drop usage of chip_data 2024-11-18 11:43:07 +01:00
pwm-stm32-lp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-stm32.c pwm: stm32: Fix enable count for clk in .probe() 2024-11-18 12:12:43 +01:00
pwm-stmpe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-sun4i.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-tegra.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-tiecap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-tiehrpwm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-twl-led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-twl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-vt8500.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwm-zx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00