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

Commit eee87d31 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jean Delvare
Browse files

i2c: the scheduled I2C RTC driver removal



This patch contains the scheduled removal of legacy I2C RTC drivers with 
replacement drivers.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 569be443
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -266,13 +266,6 @@ Who: Tejun Heo <htejun@gmail.com>

---------------------------

What:	Legacy RTC drivers (under drivers/i2c/chips)
When:	November 2007
Why:	Obsolete. We have a RTC subsystem with better drivers.
Who:	Jean Delvare <khali@linux-fr.org>

---------------------------

What:	iptables SAME target
When:	1.1. 2008
Files:	net/ipv4/netfilter/ipt_SAME.c, include/linux/netfilter_ipv4/ipt_SAME.h
+0 −20
Original line number Diff line number Diff line
@@ -224,26 +224,6 @@ mpc834x_sys_init_IRQ(void)
	ipic_set_default_priority();
}

#if defined(CONFIG_I2C_MPC) && defined(CONFIG_SENSORS_DS1374)
extern ulong	ds1374_get_rtc_time(void);
extern int	ds1374_set_rtc_time(ulong);

static int __init
mpc834x_rtc_hookup(void)
{
	struct timespec	tv;

	ppc_md.get_rtc_time = ds1374_get_rtc_time;
	ppc_md.set_rtc_time = ds1374_set_rtc_time;

	tv.tv_nsec = 0;
	tv.tv_sec = (ppc_md.get_rtc_time)();
	do_settimeofday(&tv);

	return 0;
}
late_initcall(mpc834x_rtc_hookup);
#endif
static __inline__ void
mpc834x_sys_set_bat(void)
{
+0 −21
Original line number Diff line number Diff line
@@ -258,27 +258,6 @@ int tqm85xx_show_cpuinfo(struct seq_file *m)
	return 0;
}

#if defined(CONFIG_I2C) && defined(CONFIG_SENSORS_DS1337)
extern ulong ds1337_get_rtc_time(void);
extern int ds1337_set_rtc_time(unsigned long nowtime);

static int __init
tqm85xx_rtc_hookup(void)
{
	struct timespec	tv;

        ppc_md.set_rtc_time = ds1337_set_rtc_time;
        ppc_md.get_rtc_time = ds1337_get_rtc_time;

	tv.tv_nsec = 0;
	tv.tv_sec = (ppc_md.get_rtc_time)();
	do_settimeofday(&tv);

	return 0;
}
late_initcall(tqm85xx_rtc_hookup);
#endif

#ifdef CONFIG_PCI
/*
 * interrupt routing
+0 −21
Original line number Diff line number Diff line
@@ -838,27 +838,6 @@ katana_find_end_of_memory(void)
	return bdp->bi_memsize;
}

#if defined(CONFIG_I2C_MV64XXX) && defined(CONFIG_SENSORS_M41T00)
extern ulong	m41t00_get_rtc_time(void);
extern int	m41t00_set_rtc_time(ulong);

static int __init
katana_rtc_hookup(void)
{
	struct timespec	tv;

	ppc_md.get_rtc_time = m41t00_get_rtc_time;
	ppc_md.set_rtc_time = m41t00_set_rtc_time;

	tv.tv_nsec = 0;
	tv.tv_sec = (ppc_md.get_rtc_time)();
	do_settimeofday(&tv);

	return 0;
}
late_initcall(katana_rtc_hookup);
#endif

#if defined(CONFIG_SERIAL_TEXT_DEBUG) && defined(CONFIG_SERIAL_MPSC_CONSOLE)
static void __init
katana_map_io(void)
+0 −38
Original line number Diff line number Diff line
@@ -4,32 +4,6 @@

menu "Miscellaneous I2C Chip support"

config SENSORS_DS1337
	tristate "Dallas DS1337 and DS1339 Real Time Clock (DEPRECATED)"
	depends on EXPERIMENTAL
	help
	  If you say yes here you get support for Dallas Semiconductor
	  DS1337 and DS1339 real-time clock chips.

	  This driver can also be built as a module.  If so, the module
	  will be called ds1337.

	  This driver is deprecated and will be dropped soon. Use
	  rtc-ds1307 instead.

config SENSORS_DS1374
	tristate "Dallas DS1374 Real Time Clock (DEPRECATED)"
	depends on EXPERIMENTAL
	help
	  If you say yes here you get support for Dallas Semiconductor
	  DS1374 real-time clock chips.

	  This driver can also be built as a module.  If so, the module
	  will be called ds1374.

	  This driver is deprecated and will be dropped soon. Use
	  rtc-ds1374 instead.

config DS1682
	tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
	depends on EXPERIMENTAL
@@ -130,18 +104,6 @@ config TPS65010
	  This driver can also be built as a module.  If so, the module
	  will be called tps65010.

config SENSORS_M41T00
	tristate "ST M41T00 RTC chip (DEPRECATED)"
	depends on PPC32
	help
	  If you say yes here you get support for the ST M41T00 RTC chip.

	  This driver can also be built as a module.  If so, the module
	  will be called m41t00.

	  This driver is deprecated and will be dropped soon. Use
	  rtc-ds1307 or rtc-m41t80 instead.

config SENSORS_MAX6875
	tristate "Maxim MAX6875 Power supply supervisor"
	depends on EXPERIMENTAL
Loading