Message ID | 20210330000343.801566-2-alexandre.belloni@bootlin.com |
---|---|
State | Superseded |
Headers | show |
Series | [1/3] rtc: ds1307: replace HAS_ALARM by RTC_FEATURE_ALARM | expand |
It was <2021-03-30 wto 02:03>, when Alexandre Belloni wrote: > flags is now unused, drop it. > > Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> > --- > drivers/rtc/rtc-ds1307.c | 2 -- > 1 file changed, 2 deletions(-) > Tested-by: Łukasz Stelmach <l.stelmach@samsung.com> Reviewed-by: Łukasz Stelmach <l.stelmach@samsung.com> > 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;
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;
flags is now unused, drop it. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> --- drivers/rtc/rtc-ds1307.c | 2 -- 1 file changed, 2 deletions(-)