diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-12 01:46:48 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-15 05:21:46 -0500 |
commit | 72facfea710afc7165e8f2fedd2e048098960b7e (patch) | |
tree | 7d8ed30fd9807fa8df0cd35524c4975e4af544bf /drivers/pinctrl/pinctrl-pxa3xx.c | |
parent | 9387760db221420f56a9f43a7d079c9fb209e32e (diff) |
pinctrl: pxa3xx: Remove phy_base and phy_size from struct pxa3xx_pinmux_info
They are not used, remove them.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-pxa3xx.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-pxa3xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-pxa3xx.c b/drivers/pinctrl/pinctrl-pxa3xx.c index 43e3dd058ddb..51f8a388b917 100644 --- a/drivers/pinctrl/pinctrl-pxa3xx.c +++ b/drivers/pinctrl/pinctrl-pxa3xx.c | |||
@@ -187,8 +187,6 @@ int pxa3xx_pinctrl_register(struct platform_device *pdev, | |||
187 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 187 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
188 | if (!res) | 188 | if (!res) |
189 | return -ENOENT; | 189 | return -ENOENT; |
190 | info->phy_base = res->start; | ||
191 | info->phy_size = resource_size(res); | ||
192 | info->virt_base = devm_request_and_ioremap(&pdev->dev, res); | 190 | info->virt_base = devm_request_and_ioremap(&pdev->dev, res); |
193 | if (!info->virt_base) | 191 | if (!info->virt_base) |
194 | return -ENOMEM; | 192 | return -ENOMEM; |