Thread (22 messages) 22 messages, 8 authors, 2021-07-27

Re: [PATCH 4/8] tty: stop using alloc_tty_driver

From: Max Filippov <jcmvbkbc@gmail.com>
Date: 2021-07-23 10:30:56
Also in: lkml

On Fri, Jul 23, 2021 at 12:43 AM Jiri Slaby [off-list ref] 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 <redacted>
 arch/xtensa/platforms/iss/console.c    |  7 +++----
Acked-by: Max Filippov <jcmvbkbc@gmail.com>

-- 
Thanks.
-- Max
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help