diff options
author | Paul Cercueil <paul@crapouillou.net> | 2016-10-31 21:39:51 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-11-05 00:02:02 +0100 |
commit | d839c60ac55681494d7f96c0c278eccc3eac3918 (patch) | |
tree | 4c9fa6630ec32c94f531b31dad5cb5605e155183 /arch/mips/include/asm/mach-jz4740 | |
parent | MIPS: qi_lb60: Probe RTC driver from DT and use it as power controller (diff) | |
download | linux-d839c60ac55681494d7f96c0c278eccc3eac3918.tar.xz linux-d839c60ac55681494d7f96c0c278eccc3eac3918.zip |
MIPS: jz4740: Remove obsolete code
This commit removes two things:
- The platform_device that corresponds to the RTC driver, since we now
probe this driver from devicetree;
- The platform power-off code, since all the jz4740-based platforms are
now using the jz4740-rtc driver as the system power controller.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/mips/include/asm/mach-jz4740')
-rw-r--r-- | arch/mips/include/asm/mach-jz4740/platform.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-jz4740/platform.h b/arch/mips/include/asm/mach-jz4740/platform.h index 073b8bfbb3b3..3645974b7f65 100644 --- a/arch/mips/include/asm/mach-jz4740/platform.h +++ b/arch/mips/include/asm/mach-jz4740/platform.h @@ -22,7 +22,6 @@ extern struct platform_device jz4740_udc_device; extern struct platform_device jz4740_udc_xceiv_device; extern struct platform_device jz4740_mmc_device; -extern struct platform_device jz4740_rtc_device; extern struct platform_device jz4740_i2c_device; extern struct platform_device jz4740_nand_device; extern struct platform_device jz4740_framebuffer_device; |