linux-stable/drivers/tty/hvc
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
..
hvc_console.c tty: hvc_console: use flexible array for outbuf 2023-11-25 07:23:17 +00:00
hvc_console.h tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_dcc.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_irq.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hvc_iucv.c tty: hvc-iucv: Make use of iucv_alloc_device() 2024-05-14 20:21:04 +02:00
hvc_opal.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
hvc_riscv_sbi.c RISC-V Patches for the 6.8 Merge Window, Part 4 2024-01-20 11:06:04 -08:00
hvc_rtas.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_udbg.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_vio.c tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvc_xen.c tty: hvc: Remove second semicolon 2024-04-09 15:49:00 +02:00
hvcs.c TTY/Serial changes for 6.7-rc1 2023-11-03 15:44:25 -10:00
hvsi_lib.c tty: hvc: convert comma to semicolon 2024-09-03 10:47:56 +02:00
hvsi.c tty: hvc: convert counts to size_t 2023-08-11 21:12:47 +02:00
Kconfig tty: hvc: Don't enable the RISC-V SBI console by default 2024-02-19 09:43:33 +01:00
Makefile TTY/Serial driver patches for 4.17-rc1 2018-04-04 18:43:49 -07:00