linux-stable/drivers/platform/mellanox
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
..
Kconfig platform/mellanox: NVSW_SN2201 should depend on ACPI 2023-09-11 13:21:46 +02:00
Makefile platform/mellanox: Add support for new SN2201 system 2022-05-12 15:35:29 +02:00
mlxbf-bootctl.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
mlxbf-bootctl.h mlxbf-bootctl: Support sysfs entries for MFG fields 2023-08-23 17:31:27 +02:00
mlxbf-pmc.c platform/mellanox: mlxbf-pmc: fix lockdep warning 2024-09-14 18:06:44 +02:00
mlxbf-tmfifo-regs.h platform/mellanox: Add BlueField-3 support in the tmfifo driver 2022-11-16 08:48:19 +01:00
mlxbf-tmfifo.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
mlxreg-hotplug.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
mlxreg-io.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
mlxreg-lc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
nvsw-sn2201.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00