projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8532bd5
)
rtc: xgene: Remove unused struct device in struct xgene_rtc_dev
author
Nobuhiro Iwamatsu
<iwamatsu@nigauri.org>
Sat, 23 Nov 2019 09:02:34 +0000
(18:02 +0900)
committer
Alexandre Belloni
<alexandre.belloni@bootlin.com>
Wed, 27 Nov 2019 08:31:14 +0000
(09:31 +0100)
struct device in struct xgene_rtc_dev is not used, remove it.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link:
https://lore.kernel.org/r/20191123090234.32180-1-nobuhiro1.iwamatsu@toshiba.co.jp
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-xgene.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-xgene.c
b/drivers/rtc/rtc-xgene.c
index 603c4e444fd06290f1cba4151dc605661961bd56..96db441f92b3ee03b4b4e0e6e7c032287d834251 100644
(file)
--- a/
drivers/rtc/rtc-xgene.c
+++ b/
drivers/rtc/rtc-xgene.c
@@
-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))