linux-stable/drivers/w1/masters
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
..
amd_axi_w1.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ds2482.c w1: ds2482: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-09-06 19:18:32 +02:00
ds2490.c w1: ds2490: support block sizes larger than 128 bytes in ds_read_block 2023-12-20 09:25:23 +01:00
Kconfig w1: add UART w1 bus driver 2024-02-15 15:02:33 +01:00
Makefile w1: add UART w1 bus driver 2024-02-15 15:02:33 +01:00
matrox_w1.c w1: matrox: remove unnecessary ENOMEM messages 2023-04-20 14:15:07 +02:00
mxc_w1.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
omap_hdq.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sgi_w1.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
w1-gpio.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
w1-uart.c w1: add UART w1 bus driver 2024-02-15 15:02:33 +01:00