On Fri, 2021-07-23 at 09:43 +0200, Jiri Slaby wrote: > alloc_tty_driver was deprecated by tty_alloc_driver in commit > 7f0bc6a68ed9 (TTY: pass flags to alloc_tty_driver) in 2012. > > I never got into eliminating alloc_tty_driver until now. So we still > have two functions for allocating drivers which might be confusing. > So > get rid of alloc_tty_driver uses to eliminate it for good in the next > patch. > > Note we need to switch return value checking as tty_alloc_driver uses > ERR_PTR. And flags are now a parameter of tty_alloc_driver. > > Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> > Cc: Richard Henderson <rth@xxxxxxxxxxx>(odd fixer:ALPHA PORT) > Cc: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> > Cc: Matt Turner <mattst88@xxxxxxxxx> > Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> > Cc: "James E.J. Bottomley" <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> > Cc: Helge Deller <deller@xxxxxx> > 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: Samuel Iglesias Gonsalvez <siglesias@xxxxxxxxxx> > Cc: Jens Taprogge <jens.taprogge@xxxxxxxxxxxx> > Cc: Karsten Keil <isdn@xxxxxxxxxxxxxx> > 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: 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: Oliver Neukum <oneukum@xxxxxxxx> > Cc: Felipe Balbi <balbi@xxxxxxxxxx> > Cc: Johan Hovold <johan@xxxxxxxxxx> > Cc: Marcel Holtmann <marcel@xxxxxxxxxxxx> > Cc: Johan Hedberg <johan.hedberg@xxxxxxxxx> > Cc: Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> > --- > arch/alpha/kernel/srmcons.c | 6 +++--- > arch/m68k/emu/nfcon.c | 7 +++---- > arch/parisc/kernel/pdc_cons.c | 9 ++++----- > arch/um/drivers/line.c | 11 ++++++----- > arch/xtensa/platforms/iss/console.c | 7 +++---- > drivers/ipack/devices/ipoctal.c | 9 ++++----- > drivers/isdn/capi/capi.c | 10 ++++------ > drivers/mmc/core/sdio_uart.c | 8 ++++---- > drivers/net/usb/hso.c | 8 ++++---- > drivers/s390/char/con3215.c | 7 +++---- > drivers/s390/char/sclp_tty.c | 7 +++---- > drivers/s390/char/sclp_vt220.c | 7 +++---- > drivers/staging/gdm724x/gdm_tty.c | 9 ++++----- > drivers/tty/amiserial.c | 7 +++---- > drivers/tty/ehv_bytechan.c | 8 ++++---- > drivers/tty/goldfish.c | 14 +++++++------- > drivers/tty/hvc/hvc_console.c | 8 ++++---- > drivers/tty/hvc/hvcs.c | 8 ++++---- > drivers/tty/hvc/hvsi.c | 7 +++---- > drivers/tty/ipwireless/tty.c | 8 ++++---- > drivers/tty/mxser.c | 8 ++++---- > drivers/tty/n_gsm.c | 9 ++++----- > drivers/tty/nozomi.c | 8 ++++---- > drivers/tty/serial/kgdb_nmi.c | 7 +++---- > drivers/tty/serial/serial_core.c | 8 +++++--- > drivers/tty/synclink_gt.c | 8 ++++---- > drivers/tty/vt/vt.c | 6 +++--- > drivers/usb/class/cdc-acm.c | 8 ++++---- > drivers/usb/gadget/function/u_serial.c | 8 ++++---- > drivers/usb/serial/usb-serial.c | 9 ++++----- > net/bluetooth/rfcomm/tty.c | 8 ++++---- > 31 files changed, 120 insertions(+), 132 deletions(-) For ipack changes: Acked-by: Samuel Iglesias Gonsálvez <siglesias@xxxxxxxxxx> Sam
Attachment:
signature.asc
Description: This is a digitally signed message part