diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2019-11-23 18:05:38 +0900 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-11-27 09:31:14 +0100 |
commit | 8532bd5d3fdcf2158c3965bed90b32185a437258 (patch) | |
tree | 9cb43747ebd8c5219b99a5104af21087e62a8877 /drivers/rtc/rtc-sun6i.c | |
parent | 4f8aadea23426a163aca42a9ce208bb8544b02c1 (diff) | |
download | linux-8532bd5d3fdcf2158c3965bed90b32185a437258.tar.gz linux-8532bd5d3fdcf2158c3965bed90b32185a437258.tar.bz2 linux-8532bd5d3fdcf2158c3965bed90b32185a437258.zip |
rtc: sun6i: Remove struct device from sun6i_rtc_dev
struct device in struct sun6i_rtc_dev is not used, remove it.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20191123090538.32364-1-nobuhiro1.iwamatsu@toshiba.co.jp
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-sun6i.c')
-rw-r--r-- | drivers/rtc/rtc-sun6i.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-sun6i.c b/drivers/rtc/rtc-sun6i.c index 5e2bd9f1d01e..8dcd20b34dde 100644 --- a/drivers/rtc/rtc-sun6i.c +++ b/drivers/rtc/rtc-sun6i.c @@ -136,7 +136,6 @@ struct sun6i_rtc_clk_data { struct sun6i_rtc_dev { struct rtc_device *rtc; - struct device *dev; const struct sun6i_rtc_clk_data *data; void __iomem *base; int irq; @@ -669,7 +668,6 @@ static int sun6i_rtc_probe(struct platform_device *pdev) return -ENODEV; platform_set_drvdata(pdev, chip); - chip->dev = &pdev->dev; chip->irq = platform_get_irq(pdev, 0); if (chip->irq < 0) |