Skip to content

Commit

Permalink
kernel: remove platform_has() infrastructure
Browse files Browse the repository at this point in the history
The only use case of the platform_has() infrastructure has been
removed again, so remove the whole feature.

Signed-off-by: Juergen Gross <[email protected]>
Tested-by: Oleksandr Tyshchenko <[email protected]> # Arm64 guest using Xen
Reviewed-by: Stefano Stabellini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
  • Loading branch information
jgross1 committed Aug 1, 2022
1 parent a603002 commit a870544
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 60 deletions.
8 changes: 0 additions & 8 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -15953,14 +15953,6 @@ S: Maintained
F: Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml
F: drivers/iio/chemical/pms7003.c

PLATFORM FEATURE INFRASTRUCTURE
M: Juergen Gross <[email protected]>
S: Maintained
F: arch/*/include/asm/platform-feature.h
F: include/asm-generic/platform-feature.h
F: include/linux/platform-feature.h
F: kernel/platform-feature.c

PLDMFW LIBRARY
M: Jacob Keller <[email protected]>
S: Maintained
Expand Down
1 change: 0 additions & 1 deletion include/asm-generic/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ mandatory-y += msi.h
mandatory-y += pci.h
mandatory-y += percpu.h
mandatory-y += pgalloc.h
mandatory-y += platform-feature.h
mandatory-y += preempt.h
mandatory-y += rwonce.h
mandatory-y += sections.h
Expand Down
8 changes: 0 additions & 8 deletions include/asm-generic/platform-feature.h

This file was deleted.

15 changes: 0 additions & 15 deletions include/linux/platform-feature.h

This file was deleted.

2 changes: 1 addition & 1 deletion kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ obj-y = fork.o exec_domain.o panic.o \
cpu.o exit.o softirq.o resource.o \
sysctl.o capability.o ptrace.o user.o \
signal.o sys.o umh.o workqueue.o pid.o task_work.o \
extable.o params.o platform-feature.o \
extable.o params.o \
kthread.o sys_ni.o nsproxy.o \
notifier.o ksysfs.o cred.o reboot.o \
async.o range.o smpboot.o ucount.o regset.o
Expand Down
27 changes: 0 additions & 27 deletions kernel/platform-feature.c

This file was deleted.

0 comments on commit a870544

Please sign in to comment.