Commit fa60b7e8 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Alexandre Belloni

rtc: xgene: Remove unused struct device in struct xgene_rtc_dev

struct device in struct xgene_rtc_dev is not used, remove it.
Signed-off-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20191123090234.32180-1-nobuhiro1.iwamatsu@toshiba.co.jpSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 8532bd5d
......@@ -34,7 +34,6 @@
struct xgene_rtc_dev {
struct rtc_device *rtc;
struct device *dev;
void __iomem *csr_base;
struct clk *clk;
unsigned int irq_wake;
......@@ -144,7 +143,6 @@ static int xgene_rtc_probe(struct platform_device *pdev)
if (!pdata)
return -ENOMEM;
platform_set_drvdata(pdev, pdata);
pdata->dev = &pdev->dev;
pdata->csr_base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(pdata->csr_base))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment