diff options
author | John Crispin <john@phrozen.org> | 2019-01-11 17:22:39 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-01-22 22:17:22 +0300 |
commit | 85b9686dae30b5ed5c27b85edfe91ac5a8d9d1f3 (patch) | |
tree | 52c8492035c11e3d737b62b951564442d66afbc0 /arch/mips/ath79/dev-leds-gpio.h | |
parent | 73d8e6aa7d208a222addd63339e35f7481bb1dc7 (diff) | |
download | linux-85b9686dae30b5ed5c27b85edfe91ac5a8d9d1f3.tar.xz |
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>
Diffstat (limited to 'arch/mips/ath79/dev-leds-gpio.h')
-rw-r--r-- | arch/mips/ath79/dev-leds-gpio.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/mips/ath79/dev-leds-gpio.h b/arch/mips/ath79/dev-leds-gpio.h deleted file mode 100644 index 6e5d8851ebcf..000000000000 --- a/arch/mips/ath79/dev-leds-gpio.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Atheros AR71XX/AR724X/AR913X common GPIO LEDs support - * - * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org> - * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published - * by the Free Software Foundation. - */ - -#ifndef _ATH79_DEV_LEDS_GPIO_H -#define _ATH79_DEV_LEDS_GPIO_H - -#include <linux/leds.h> - -void ath79_register_leds_gpio(int id, - unsigned num_leds, - struct gpio_led *leds); - -#endif /* _ATH79_DEV_LEDS_GPIO_H */ |