lkml.org 
[lkml]   [2021]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 4/8] tty: stop using alloc_tty_driver
    From
    Date


    On 23.07.21 09:43, 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@suse.cz>
    [..]
    > drivers/s390/char/con3215.c | 7 +++----
    > drivers/s390/char/sclp_tty.c | 7 +++----
    > drivers/s390/char/sclp_vt220.c | 7 +++----

    s390 parts look sane

    Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>

    \
     
     \ /
      Last update: 2021-07-23 09:58    [W:2.954 / U:0.264 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site