+ qfpraw = platform_get_resource_byname(pdev, IORESOURCE_MEM, "raw");
+
+ priv->qfpraw = devm_ioremap_resource(dev, qfpraw);
+ if (IS_ERR(priv->qfpraw)) {
+ ret = PTR_ERR(priv->qfpraw);
+ goto err;
+ }
+
+ qfpconf = platform_get_resource_byname(pdev, IORESOURCE_MEM, "conf");
+
+ priv->qfpconf = devm_ioremap_resource(dev, qfpconf);
+ if (IS_ERR(priv->qfpconf)) {
+ ret = PTR_ERR(priv->qfpconf);
+ goto err;
+ }
+
+ qfpcorrected = platform_get_resource_byname(pdev, IORESOURCE_MEM,
+ "corrected");
+
+ priv->qfpcorrected = devm_ioremap_resource(dev, qfpcorrected);
+ if (IS_ERR(priv->qfpcorrected)) {
+ ret = PTR_ERR(priv->qfpcorrected);
+ goto err;
+ }