Re: [PATCH 7/8] tty: drop put_tty_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2021-07-23 at 09:43 +0200, Jiri Slaby wrote:
> put_tty_driver() is an alias for tty_driver_kref_put(). There is no
> need
> for two exported identical functions, therefore switch all users of
> old put_tty_driver() to new tty_driver_kref_put() and remove the
> former
> for good.
> 
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Cc: Richard Henderson <rth@xxxxxxxxxxx>
> Cc: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>
> Cc: Matt Turner <mattst88@xxxxxxxxx>
> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Cc: Jeff Dike <jdike@xxxxxxxxxxx>
> Cc: Richard Weinberger <richard@xxxxxx>
> Cc: Anton Ivanov <anton.ivanov@xxxxxxxxxxxxxxxxxx>
> Cc: Chris Zankel <chris@xxxxxxxxxx>
> Cc: Max Filippov <jcmvbkbc@xxxxxxxxx>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Samuel Iglesias Gonsalvez <siglesias@xxxxxxxxxx>
> Cc: Jens Taprogge <jens.taprogge@xxxxxxxxxxxx>
> Cc: Karsten Keil <isdn@xxxxxxxxxxxxxx>
> Cc: Scott Branden <scott.branden@xxxxxxxxxxxx>
> Cc: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: Heiko Carstens <hca@xxxxxxxxxxxxx>
> Cc: Vasily Gorbik <gor@xxxxxxxxxxxxx>
> Cc: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> Cc: David Lin <dtwlin@xxxxxxxxx>
> Cc: Johan Hovold <johan@xxxxxxxxxx>
> Cc: Alex Elder <elder@xxxxxxxxxx>
> Cc: Jiri Slaby <jirislaby@xxxxxxxxxx>
> Cc: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
> Cc: Jiri Kosina <jikos@xxxxxxxxxx>
> Cc: David Sterba <dsterba@xxxxxxxx>
> Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
> Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> Cc: Pengutronix Kernel Team <kernel@xxxxxxxxxxxxxx>
> Cc: Fabio Estevam <festevam@xxxxxxxxx>
> Cc: NXP Linux Team <linux-imx@xxxxxxx>
> Cc: Oliver Neukum <oneukum@xxxxxxxx>
> Cc: Felipe Balbi <balbi@xxxxxxxxxx>
> Cc: Mathias Nyman <mathias.nyman@xxxxxxxxx>
> Cc: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> Cc: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> Cc: Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx>
> ---
>  arch/alpha/kernel/srmcons.c            | 2 +-
>  arch/m68k/emu/nfcon.c                  | 4 ++--
>  arch/um/drivers/line.c                 | 2 +-
>  arch/xtensa/platforms/iss/console.c    | 2 +-
>  drivers/char/pcmcia/synclink_cs.c      | 4 ++--
>  drivers/char/ttyprintk.c               | 4 ++--
>  drivers/ipack/devices/ipoctal.c        | 4 ++--
>  drivers/isdn/capi/capi.c               | 4 ++--
>  drivers/misc/bcm-vk/bcm_vk_tty.c       | 8 ++++----
>  drivers/mmc/core/sdio_uart.c           | 4 ++--
>  drivers/net/usb/hso.c                  | 4 ++--
>  drivers/s390/char/con3215.c            | 4 ++--
>  drivers/s390/char/sclp_tty.c           | 8 ++++----
>  drivers/s390/char/sclp_vt220.c         | 2 +-
>  drivers/s390/char/tty3270.c            | 4 ++--
>  drivers/staging/fwserial/fwserial.c    | 8 ++++----
>  drivers/staging/gdm724x/gdm_tty.c      | 4 ++--
>  drivers/staging/greybus/uart.c         | 4 ++--
>  drivers/tty/amiserial.c                | 8 ++++----
>  drivers/tty/ehv_bytechan.c             | 6 +++---
>  drivers/tty/goldfish.c                 | 4 ++--
>  drivers/tty/hvc/hvc_console.c          | 2 +-
>  drivers/tty/hvc/hvcs.c                 | 4 ++--
>  drivers/tty/ipwireless/tty.c           | 4 ++--
>  drivers/tty/mips_ejtag_fdc.c           | 2 +-
>  drivers/tty/moxa.c                     | 4 ++--
>  drivers/tty/mxser.c                    | 4 ++--
>  drivers/tty/n_gsm.c                    | 4 ++--
>  drivers/tty/nozomi.c                   | 4 ++--
>  drivers/tty/serial/kgdb_nmi.c          | 4 ++--
>  drivers/tty/serial/serial_core.c       | 4 ++--
>  drivers/tty/synclink_gt.c              | 4 ++--
>  drivers/tty/tty_io.c                   | 6 ------
>  drivers/tty/ttynull.c                  | 4 ++--
>  drivers/tty/vcc.c                      | 4 ++--
>  drivers/usb/class/cdc-acm.c            | 6 +++---
>  drivers/usb/gadget/function/u_serial.c | 4 ++--
>  drivers/usb/host/xhci-dbgtty.c         | 4 ++--
>  drivers/usb/serial/usb-serial.c        | 4 ++--
>  include/linux/tty_driver.h             | 1 -
>  net/bluetooth/rfcomm/tty.c             | 4 ++--
>  41 files changed, 82 insertions(+), 89 deletions(-)

For ipack changes:

Acked-by: Samuel Iglesias Gonsálvez <siglesias@xxxxxxxxxx>

Sam

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux