提交 72facfea 编写于 作者: A Axel Lin 提交者: Linus Walleij

pinctrl: pxa3xx: Remove phy_base and phy_size from struct pxa3xx_pinmux_info

They are not used, remove them.
Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 9387760d
...@@ -187,8 +187,6 @@ int pxa3xx_pinctrl_register(struct platform_device *pdev, ...@@ -187,8 +187,6 @@ int pxa3xx_pinctrl_register(struct platform_device *pdev,
res = platform_get_resource(pdev, IORESOURCE_MEM, 0); res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!res) if (!res)
return -ENOENT; return -ENOENT;
info->phy_base = res->start;
info->phy_size = resource_size(res);
info->virt_base = devm_request_and_ioremap(&pdev->dev, res); info->virt_base = devm_request_and_ioremap(&pdev->dev, res);
if (!info->virt_base) if (!info->virt_base)
return -ENOMEM; return -ENOMEM;
......
...@@ -60,8 +60,6 @@ struct pxa3xx_pinmux_info { ...@@ -60,8 +60,6 @@ struct pxa3xx_pinmux_info {
struct device *dev; struct device *dev;
struct pinctrl_dev *pctrl; struct pinctrl_dev *pctrl;
enum pxa_cpu_type cputype; enum pxa_cpu_type cputype;
unsigned int phy_base;
unsigned int phy_size;
void __iomem *virt_base; void __iomem *virt_base;
struct pxa3xx_mfp_pin *mfp; struct pxa3xx_mfp_pin *mfp;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册