linux-stable/drivers/counter
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
..
104-quad-8.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
counter-chrdev.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
counter-chrdev.h counter: Add character device interface 2021-10-17 10:53:52 +01:00
counter-core.c counter: constify the struct device_type usage 2024-04-02 13:10:34 -04:00
counter-sysfs.c counter: i8254: Introduce the Intel 8254 interface library module 2023-06-08 10:11:17 -04:00
counter-sysfs.h counter: Internalize sysfs interface code 2021-10-17 10:52:58 +01:00
ftm-quaddec.c counter: ftm-quaddec: Enable module autoloading 2024-09-30 22:27:59 +09:00
i8254.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
intel-qep.c counter: intel-qep: Replace deprecated PCI functions 2024-11-01 15:00:31 +09:00
interrupt-cnt.c counter: interrupt-cnt: Implement watch_validate callback 2022-09-30 14:32:35 +02:00
Kconfig counter: ti-eqep: Allow eQEP driver to be built for K3 devices 2024-07-01 19:05:42 +09:00
Makefile counter: i8254: Introduce the Intel 8254 interface library module 2023-06-08 10:11:17 -04:00
microchip-tcb-capture.c First set of Counter fixes for 6.6 2023-10-02 13:13:15 +02:00
rz-mtu3-cnt.c counter: rz-mtu3-cnt: Reorder locking sequence for consistency 2023-08-16 09:41:29 -04:00
stm32-lptimer-cnt.c counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update 2022-11-26 16:49:28 -05:00
stm32-timer-cnt.c counter: stm32-timer-cnt: Add check for clk_enable() 2024-11-05 09:15:20 +09:00
ti-ecap-capture.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ti-eqep.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00