diff options
author | Olof Johansson <olof@lixom.net> | 2021-06-06 01:39:22 +0300 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2021-06-06 01:39:23 +0300 |
commit | 3091a9e74240e296cbf657bb7ff6bdb7c33720f0 (patch) | |
tree | b3c1ef38bbee57bbae30cb8a96d52ed018c563a1 /drivers | |
parent | 3a2d3ae06787893138bfb2c3abf5dbc40a76f23d (diff) | |
parent | 4cce442ffe5448ef572adc8b3abe7001b398e709 (diff) | |
download | linux-3091a9e74240e296cbf657bb7ff6bdb7c33720f0.tar.xz |
Merge tag 'amlogic-fixes-v5.13-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into arm/fixes
Amlogic fixes for v5.13-rc1
- arm64: meson: select COMMON_CLK to select a proper implementation of the clock API
- soc: amlogic: meson-clk-measure: remove redundant dev_err call in meson_msr_probe()
* tag 'amlogic-fixes-v5.13-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
arm64: meson: select COMMON_CLK
soc: amlogic: meson-clk-measure: remove redundant dev_err call in meson_msr_probe()
Link: https://lore.kernel.org/r/73e76706-f3f4-bebf-10dd-d2ec9106a234@baylibre.com
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/soc/amlogic/meson-clk-measure.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/soc/amlogic/meson-clk-measure.c b/drivers/soc/amlogic/meson-clk-measure.c index e1957476a006..6dd190270123 100644 --- a/drivers/soc/amlogic/meson-clk-measure.c +++ b/drivers/soc/amlogic/meson-clk-measure.c @@ -626,10 +626,8 @@ static int meson_msr_probe(struct platform_device *pdev) res = platform_get_resource(pdev, IORESOURCE_MEM, 0); base = devm_ioremap_resource(&pdev->dev, res); - if (IS_ERR(base)) { - dev_err(&pdev->dev, "io resource mapping failed\n"); + if (IS_ERR(base)) return PTR_ERR(base); - } priv->regmap = devm_regmap_init_mmio(&pdev->dev, base, &meson_clk_msr_regmap_config); |