summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ds1307.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2021-04-18 03:00:22 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-04-30 00:04:13 +0300
commit4bf84b449a0ea3885397bb5540a8fc68a78edb9d (patch)
tree02e9995280720f2b1acbe6582f34fa18554d0696 /drivers/rtc/rtc-ds1307.c
parent64e9d8e4dbc4e9173589ed8d61ea423466172396 (diff)
downloadlinux-4bf84b449a0ea3885397bb5540a8fc68a78edb9d.tar.xz
rtc: ds1307: remove flags
flags is now unused, drop it. Tested-by: Łukasz Stelmach <l.stelmach@samsung.com> Reviewed-by: Łukasz Stelmach <l.stelmach@samsung.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210418000023.995758-2-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/rtc-ds1307.c')
-rw-r--r--drivers/rtc/rtc-ds1307.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index 76d67c419f7d..089509d0a3a0 100644
--- a/drivers/rtc/rtc-ds1307.c
+++ b/drivers/rtc/rtc-ds1307.c
@@ -169,8 +169,6 @@ enum ds_type {
struct ds1307 {
enum ds_type type;
- unsigned long flags;
-#define HAS_NVRAM 0 /* bit 0 == sysfs file active */
struct device *dev;
struct regmap *regmap;
const char *name;