summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-05-17 22:18:57 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-05-17 22:23:17 +0200
commitba78d51bdf97e67d6ae37075fa34c75068c2938e (patch)
tree69bcf1153d73a8004c29db5c20c922f72ab5ca9a
parentrtc: 88pm80x: stop setting a default time (diff)
downloadlinux-ba78d51bdf97e67d6ae37075fa34c75068c2938e.tar.xz
linux-ba78d51bdf97e67d6ae37075fa34c75068c2938e.zip
rtc: 88pm80x: remove unused pm80x_rtc_info members
pm80x_rtc_info.calib_work and pm80x_rtc_info.vrtc are never used, remove them. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-88pm80x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-88pm80x.c b/drivers/rtc/rtc-88pm80x.c
index 76df274f3e1a..f60c0d73c2f3 100644
--- a/drivers/rtc/rtc-88pm80x.c
+++ b/drivers/rtc/rtc-88pm80x.c
@@ -52,10 +52,8 @@ struct pm80x_rtc_info {
struct regmap *map;
struct rtc_device *rtc_dev;
struct device *dev;
- struct delayed_work calib_work;
int irq;
- int vrtc;
};
static irqreturn_t rtc_update_handler(int irq, void *data)