Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca91607f authored by Mylène Josserand's avatar Mylène Josserand Committed by Alexandre Belloni
Browse files

rtc: m41t80: remove proc macro



Remove the CONFIG_RTC_INTF_PROC and CONFIG_RTC_INTF_PROC_MODULE macro
which is not necessary anymore.

Signed-off-by: default avatarMylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent ef6b3125
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -192,7 +192,6 @@ static int m41t80_set_datetime(struct i2c_client *client, struct rtc_time *tm)
	return 0;
	return 0;
}
}


#if defined(CONFIG_RTC_INTF_PROC) || defined(CONFIG_RTC_INTF_PROC_MODULE)
static int m41t80_rtc_proc(struct device *dev, struct seq_file *seq)
static int m41t80_rtc_proc(struct device *dev, struct seq_file *seq)
{
{
	struct i2c_client *client = to_i2c_client(dev);
	struct i2c_client *client = to_i2c_client(dev);
@@ -206,9 +205,6 @@ static int m41t80_rtc_proc(struct device *dev, struct seq_file *seq)
	}
	}
	return 0;
	return 0;
}
}
#else
#define m41t80_rtc_proc NULL
#endif


static int m41t80_rtc_read_time(struct device *dev, struct rtc_time *tm)
static int m41t80_rtc_read_time(struct device *dev, struct rtc_time *tm)
{
{