1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-22 07:53:11 -05:00
linux/drivers/char/ipmi
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
..
bt-bmc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ipmb_dev_int.c
ipmi_bt_sm.c
ipmi_devintf.c
ipmi_dmi.c
ipmi_dmi.h
ipmi_ipmb.c
ipmi_kcs_sm.c
ipmi_msghandler.c
ipmi_plat_data.c
ipmi_plat_data.h
ipmi_powernv.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ipmi_poweroff.c
ipmi_si.h
ipmi_si_hardcode.c
ipmi_si_hotmod.c
ipmi_si_intf.c
ipmi_si_mem_io.c
ipmi_si_parisc.c
ipmi_si_pci.c
ipmi_si_platform.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ipmi_si_port_io.c
ipmi_si_sm.h
ipmi_smic_sm.c
ipmi_ssif.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ipmi_watchdog.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
Kconfig
kcs_bmc.c
kcs_bmc.h
kcs_bmc_aspeed.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
kcs_bmc_cdev_ipmi.c
kcs_bmc_client.h
kcs_bmc_device.h
kcs_bmc_npcm7xx.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
kcs_bmc_serio.c
Makefile
ssif_bmc.c