diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-09-29 16:31:18 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-01-11 01:10:27 +0300 |
commit | b91a69d162aae0f097432c8166956eccf71783d3 (patch) | |
tree | 7341a50f97333c384d590ea6b7bfd7a14e766570 /arch/arm/mach-iop32x/pmu.c | |
parent | fd68572b57f2be17e18905d28e5b7165741ad48a (diff) | |
download | linux-b91a69d162aae0f097432c8166956eccf71783d3.tar.xz |
ARM: iop32x: remove the platform
This was marked as unused in 5.19 and can now be removed
Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Martin Michlmayr <tbm@cyrius.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop32x/pmu.c')
-rw-r--r-- | arch/arm/mach-iop32x/pmu.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/arm/mach-iop32x/pmu.c b/arch/arm/mach-iop32x/pmu.c deleted file mode 100644 index bdbc7a3cb8a3..000000000000 --- a/arch/arm/mach-iop32x/pmu.c +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * PMU IRQ registration for the iop3xx xscale PMU families. - * Copyright (C) 2010 Will Deacon, ARM Ltd. - */ - -#include <linux/platform_device.h> -#include "irqs.h" - -static struct resource pmu_resource = { - .start = IRQ_IOP32X_CORE_PMU, - .end = IRQ_IOP32X_CORE_PMU, - .flags = IORESOURCE_IRQ, -}; - -static struct platform_device pmu_device = { - .name = "xscale-pmu", - .id = -1, - .resource = &pmu_resource, - .num_resources = 1, -}; - -static int __init iop3xx_pmu_init(void) -{ - platform_device_register(&pmu_device); - return 0; -} - -arch_initcall(iop3xx_pmu_init); |