Skip to content

Commit 85b9686

Browse files
blogicpaulburton
authored andcommitted
MIPS: ath79: drop platform device registration code
With the target now being fully OF based, we can drop the legacy platform device registration code. All devices and their drivers are now probed via OF. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: Felix Fietkau <nbd@nbd.name>
1 parent 73d8e6a commit 85b9686

15 files changed

+0
-835
lines changed

arch/mips/ath79/Makefile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,3 @@
1111
obj-y := prom.o setup.o common.o clock.o
1212

1313
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
14-
15-
#
16-
# Devices
17-
#
18-
obj-y += dev-common.o
19-
obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o
20-
obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o
21-
obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o
22-
obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o
23-
obj-$(CONFIG_ATH79_DEV_WMAC) += dev-wmac.o

arch/mips/ath79/common.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ unsigned long ath79_get_sys_clk_rate(const char *id);
2424

2525
void ath79_ddr_ctrl_init(void);
2626

27-
void ath79_gpio_init(void);
28-
2927
#endif /* __ATH79_COMMON_H */

arch/mips/ath79/dev-common.c

Lines changed: 0 additions & 159 deletions
This file was deleted.

arch/mips/ath79/dev-common.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

arch/mips/ath79/dev-gpio-buttons.c

Lines changed: 0 additions & 56 deletions
This file was deleted.

arch/mips/ath79/dev-gpio-buttons.h

Lines changed: 0 additions & 23 deletions
This file was deleted.

arch/mips/ath79/dev-leds-gpio.c

Lines changed: 0 additions & 54 deletions
This file was deleted.

arch/mips/ath79/dev-leds-gpio.h

Lines changed: 0 additions & 21 deletions
This file was deleted.

arch/mips/ath79/dev-spi.c

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)