Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353675
b: refs/heads/master
c: 6d4294d
h: refs/heads/master
i:
  353673: 12dedfe
  353671: 2ff6e91
v: v3
  • Loading branch information
Thierry Reding authored and Greg Kroah-Hartman committed Jan 22, 2013
1 parent d28dedf commit a65ea0b
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e0c1fb29a7c257a31c321c2437617b6b4d66168
refs/heads/master: 6d4294d1634543853febc4287ecf02998fd234e1
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ static int imx_pwm_probe(struct platform_device *pdev)
return -ENODEV;
}

imx->mmio_base = devm_request_and_ioremap(&pdev->dev, r);
if (imx->mmio_base == NULL)
return -EADDRNOTAVAIL;
imx->mmio_base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(imx->mmio_base))
return PTR_ERR(imx->mmio_base);

data = of_id->data;
imx->config = data->config;
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-lpc32xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ static int lpc32xx_pwm_probe(struct platform_device *pdev)
if (!res)
return -EINVAL;

lpc32xx->base = devm_request_and_ioremap(&pdev->dev, res);
if (!lpc32xx->base)
return -EADDRNOTAVAIL;
lpc32xx->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(lpc32xx->base))
return PTR_ERR(lpc32xx->base);

lpc32xx->clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(lpc32xx->clk))
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-mxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ static int mxs_pwm_probe(struct platform_device *pdev)
return -ENOMEM;

res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mxs->base = devm_request_and_ioremap(&pdev->dev, res);
if (!mxs->base)
return -EADDRNOTAVAIL;
mxs->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(mxs->base))
return PTR_ERR(mxs->base);

pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
if (IS_ERR(pinctrl))
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-puv3.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ static int pwm_probe(struct platform_device *pdev)
return -ENODEV;
}

puv3->base = devm_request_and_ioremap(&pdev->dev, r);
if (puv3->base == NULL)
return -EADDRNOTAVAIL;
puv3->base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(puv3->base))
return PTR_ERR(puv3->base);

puv3->chip.dev = &pdev->dev;
puv3->chip.ops = &puv3_pwm_ops;
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ static int pwm_probe(struct platform_device *pdev)
return -ENODEV;
}

pwm->mmio_base = devm_request_and_ioremap(&pdev->dev, r);
if (pwm->mmio_base == NULL)
return -EADDRNOTAVAIL;
pwm->mmio_base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(pwm->mmio_base))
return PTR_ERR(pwm->mmio_base);

ret = pwmchip_add(&pwm->chip);
if (ret < 0) {
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-spear.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ static int spear_pwm_probe(struct platform_device *pdev)
return -ENOMEM;
}

pc->mmio_base = devm_request_and_ioremap(&pdev->dev, r);
if (!pc->mmio_base)
return -EADDRNOTAVAIL;
pc->mmio_base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(pc->mmio_base))
return PTR_ERR(pc->mmio_base);

pc->clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(pc->clk))
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ static int tegra_pwm_probe(struct platform_device *pdev)
return -ENODEV;
}

pwm->mmio_base = devm_request_and_ioremap(&pdev->dev, r);
if (!pwm->mmio_base)
return -EADDRNOTAVAIL;
pwm->mmio_base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(pwm->mmio_base))
return PTR_ERR(pwm->mmio_base);

platform_set_drvdata(pdev, pwm);

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-tiecap.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ static int ecap_pwm_probe(struct platform_device *pdev)
return -ENODEV;
}

pc->mmio_base = devm_request_and_ioremap(&pdev->dev, r);
if (!pc->mmio_base)
return -EADDRNOTAVAIL;
pc->mmio_base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(pc->mmio_base))
return PTR_ERR(pc->mmio_base);

ret = pwmchip_add(&pc->chip);
if (ret < 0) {
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-tiehrpwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ static int ehrpwm_pwm_probe(struct platform_device *pdev)
return -ENODEV;
}

pc->mmio_base = devm_request_and_ioremap(&pdev->dev, r);
if (!pc->mmio_base)
return -EADDRNOTAVAIL;
pc->mmio_base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(pc->mmio_base))
return PTR_ERR(pc->mmio_base);

/* Acquire tbclk for Time Base EHRPWM submodule */
pc->tbclk = devm_clk_get(&pdev->dev, "tbclk");
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-tipwmss.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ static int pwmss_probe(struct platform_device *pdev)
return -ENODEV;
}

info->mmio_base = devm_request_and_ioremap(&pdev->dev, r);
if (!info->mmio_base)
return -EADDRNOTAVAIL;
info->mmio_base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(info->mmio_base))
return PTR_ERR(info->mmio_base);

pm_runtime_enable(&pdev->dev);
pm_runtime_get_sync(&pdev->dev);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/pwm/pwm-vt8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ static int vt8500_pwm_probe(struct platform_device *pdev)
return -ENODEV;
}

chip->base = devm_request_and_ioremap(&pdev->dev, r);
if (!chip->base)
return -EADDRNOTAVAIL;
chip->base = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(chip->base))
return PTR_ERR(chip->base);

ret = clk_prepare(chip->clk);
if (ret < 0) {
Expand Down

0 comments on commit a65ea0b

Please sign in to comment.