Merge tag 'ceph-for-5.13-rc1' of git://github.com/ceph/ceph-client
[linux-block.git] / drivers / thermal / amlogic_thermal.c
index dffe3ba8c7c448b39664d9f45aed3b4688023438..e61b91d14ad1e59f35bbaf771490064e3aa9de84 100644 (file)
@@ -254,10 +254,8 @@ static int amlogic_thermal_probe(struct platform_device *pdev)
        platform_set_drvdata(pdev, pdata);
 
        base = devm_platform_ioremap_resource(pdev, 0);
-       if (IS_ERR(base)) {
-               dev_err(dev, "failed to get io address\n");
+       if (IS_ERR(base))
                return PTR_ERR(base);
-       }
 
        pdata->regmap = devm_regmap_init_mmio(dev, base,
                                              pdata->data->regmap_config);