Skip to content

Commit a870544

Browse files
committed
kernel: remove platform_has() infrastructure
The only use case of the platform_has() infrastructure has been removed again, so remove the whole feature. Signed-off-by: Juergen Gross <jgross@suse.com> Tested-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> # Arm64 guest using Xen Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Link: https://lore.kernel.org/r/20220622063838.8854-3-jgross@suse.com Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent a603002 commit a870544

File tree

6 files changed

+1
-60
lines changed

6 files changed

+1
-60
lines changed

MAINTAINERS

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15953,14 +15953,6 @@ S: Maintained
1595315953
F: Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml
1595415954
F: drivers/iio/chemical/pms7003.c
1595515955

15956-
PLATFORM FEATURE INFRASTRUCTURE
15957-
M: Juergen Gross <jgross@suse.com>
15958-
S: Maintained
15959-
F: arch/*/include/asm/platform-feature.h
15960-
F: include/asm-generic/platform-feature.h
15961-
F: include/linux/platform-feature.h
15962-
F: kernel/platform-feature.c
15963-
1596415956
PLDMFW LIBRARY
1596515957
M: Jacob Keller <jacob.e.keller@intel.com>
1596615958
S: Maintained

include/asm-generic/Kbuild

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ mandatory-y += msi.h
4444
mandatory-y += pci.h
4545
mandatory-y += percpu.h
4646
mandatory-y += pgalloc.h
47-
mandatory-y += platform-feature.h
4847
mandatory-y += preempt.h
4948
mandatory-y += rwonce.h
5049
mandatory-y += sections.h

include/asm-generic/platform-feature.h

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

include/linux/platform-feature.h

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

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ obj-y = fork.o exec_domain.o panic.o \
77
cpu.o exit.o softirq.o resource.o \
88
sysctl.o capability.o ptrace.o user.o \
99
signal.o sys.o umh.o workqueue.o pid.o task_work.o \
10-
extable.o params.o platform-feature.o \
10+
extable.o params.o \
1111
kthread.o sys_ni.o nsproxy.o \
1212
notifier.o ksysfs.o cred.o reboot.o \
1313
async.o range.o smpboot.o ucount.o regset.o

kernel/platform-feature.c

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

0 commit comments

Comments
 (0)