linux-next/drivers/misc/cxl
Linus Torvalds e70140ba0d Get rid of 'remove_new' relic from platform driver struct
The continual trickle of small conversion patches is grating on me, and
is really not helping.  Just get rid of the 'remove_new' member
function, which is just an alias for the plain 'remove', and had a
comment to that effect:

  /*
   * .remove_new() is a relic from a prototype conversion of .remove().
   * New drivers are supposed to implement .remove(). Once all drivers are
   * converted to not use .remove_new any more, it will be dropped.
   */

This was just a tree-wide 'sed' script that replaced '.remove_new' with
'.remove', with some care taken to turn a subsequent tab into two tabs
to make things line up.

I did do some minimal manual whitespace adjustment for places that used
spaces to line things up.

Then I just removed the old (sic) .remove_new member function, and this
is the end result.  No more unnecessary conversion noise.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-12-01 15:12:43 -08:00
..
api.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
base.c misc: Explicitly include correct DT includes 2023-08-04 15:39:04 +02:00
context.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
cxl.h powerpc: Add PVN support for HeXin C2000 processor 2023-12-01 21:15:33 +11:00
cxllib.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
debugfs.c cxl: no need to check return value of debugfs_create functions 2019-06-18 13:40:25 +02:00
fault.c cxl: remove vma linked list walk 2022-09-26 19:46:20 -07:00
file.c cxl: make cxl_class constant 2023-10-25 11:08:54 +02:00
flash.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
guest.c cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter() 2022-11-24 23:31:24 +11:00
hcalls.c misc: cxl: hcalls: Demote half-assed kerneldoc attempt 2020-07-01 15:08:05 +02:00
hcalls.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
irq.c cxl: Fix a memory leak in an error handling path 2022-07-14 16:53:52 +02:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
main.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
Makefile Revert "cxl: Allow a default context to be associated with an external pci_dev" 2018-07-02 23:54:33 +10:00
native.c cxl: Drop unused detach_spa() 2023-08-24 22:33:16 +10:00
of.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
pci.c cxl: Use of_property_ accessor functions 2024-07-31 13:57:05 +02:00
sysfs.c cxl: Constify struct kobj_type 2024-09-11 16:02:50 +02:00
trace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
trace.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
vphb.c cxl: Remove unnecessary cxl_pci_window_alignment() 2022-12-06 23:15:06 +11:00