diff options
author | 2023-04-04 16:10:21 +0200 | |
---|---|---|
committer | 2023-04-04 16:10:21 +0200 | |
commit | 748d3c3cce57d7d5d5f9d5ab8f338b2f83b7ef3e (patch) | |
tree | 35795a66974719352d52ac7d01441b3e7e5e1fdc /drivers/soc | |
parent | Merge tag 'optee-per-cpu-irq-for-v6.4' of https://git.linaro.org/people/jens.... (diff) | |
parent | dt-bindings: soc: amlogic: Drop unneeded quotes (diff) | |
download | linux-748d3c3cce57d7d5d5f9d5ab8f338b2f83b7ef3e.tar.gz linux-748d3c3cce57d7d5d5f9d5ab8f338b2f83b7ef3e.tar.bz2 linux-748d3c3cce57d7d5d5f9d5ab8f338b2f83b7ef3e.zip |
Merge tag 'amlogic-drivers-for-v6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into soc/drivers
Amlogic Drivers changes for v6.4:
- convert clk-measure.txt to dt-schema
- meson-pwrc: Use dev_err_probe()
- meson_sm: populate platform devices from sm device tree data
- dt-bindings: Drop unneeded quotes
* tag 'amlogic-drivers-for-v6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
dt-bindings: soc: amlogic: Drop unneeded quotes
firmware: meson_sm: populate platform devices from sm device tree data
soc: amlogic: meson-pwrc: Use dev_err_probe()
dt-bindings: soc: amlogic: convert clk-measure.txt to dt-schema
Link: https://lore.kernel.org/r/aebef87f-e0a3-17dd-12b7-7231ca6b0923@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/amlogic/meson-gx-pwrc-vpu.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/soc/amlogic/meson-gx-pwrc-vpu.c b/drivers/soc/amlogic/meson-gx-pwrc-vpu.c index 312fd9afccb0..5d4f12800d93 100644 --- a/drivers/soc/amlogic/meson-gx-pwrc-vpu.c +++ b/drivers/soc/amlogic/meson-gx-pwrc-vpu.c @@ -308,11 +308,9 @@ static int meson_gx_pwrc_vpu_probe(struct platform_device *pdev) } rstc = devm_reset_control_array_get_exclusive(&pdev->dev); - if (IS_ERR(rstc)) { - if (PTR_ERR(rstc) != -EPROBE_DEFER) - dev_err(&pdev->dev, "failed to get reset lines\n"); - return PTR_ERR(rstc); - } + if (IS_ERR(rstc)) + return dev_err_probe(&pdev->dev, PTR_ERR(rstc), + "failed to get reset lines\n"); vpu_clk = devm_clk_get(&pdev->dev, "vpu"); if (IS_ERR(vpu_clk)) { |