serdev: ttyport: do not used keyed wakeup in write_wakeup
authorJohan Hovold <johan@kernel.org>
Mon, 18 Dec 2017 11:00:19 +0000 (12:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Dec 2017 11:25:14 +0000 (12:25 +0100)
commitafe3eb60fa82a5d812378530b50755f58acc029c
tree8ebb0b16dc033989127f65715ff85c506ba02302
parent19ac50f655373c45f3cb548f510510282186a3dd
serdev: ttyport: do not used keyed wakeup in write_wakeup

Serdev does not use the file abstraction and specifically there will
never be anyone polling a file descriptor for POLLOUT events.

Just use plain wake_up_interruptible() in the write_wakeup callback and
document why it's there.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serdev/serdev-ttyport.c