linux/drivers/spmi
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
..
hisi-spmi-controller.c spmi: add missing MODULE_DESCRIPTION() macros 2024-07-12 10:44:53 +02:00
Kconfig spmi: mediatek: Add support for MT6873/8192 2021-12-17 17:18:18 +01:00
Makefile spmi: Introduce device-managed functions 2023-12-15 17:27:04 +01:00
spmi-devres.c spmi: Return meaningful errors in spmi_controller_alloc() 2023-12-15 17:27:04 +01:00
spmi-mtk-pmif.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
spmi-pmic-arb.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
spmi.c driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00