Skip to content

Commit fa60b7e

Browse files
iwamatsualexandrebelloni
authored andcommitted
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: Nobuhiro Iwamatsu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 8532bd5 commit fa60b7e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/rtc/rtc-xgene.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434

3535
struct xgene_rtc_dev {
3636
struct rtc_device *rtc;
37-
struct device *dev;
3837
void __iomem *csr_base;
3938
struct clk *clk;
4039
unsigned int irq_wake;
@@ -144,7 +143,6 @@ static int xgene_rtc_probe(struct platform_device *pdev)
144143
if (!pdata)
145144
return -ENOMEM;
146145
platform_set_drvdata(pdev, pdata);
147-
pdata->dev = &pdev->dev;
148146

149147
pdata->csr_base = devm_platform_ioremap_resource(pdev, 0);
150148
if (IS_ERR(pdata->csr_base))

0 commit comments

Comments
 (0)