Commit d7a3a680 authored by Jiri Slaby's avatar Jiri Slaby Committed by Mark Brown

ASoC: cx20442: tty_ldisc_ops::write_wakeup is optional

TTY layer does nothing if tty_ldisc_ops::write_wakeup is NULL, so there
is no need to implement an empty one in cx20442. Drop it.
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210722115141.516-1-jslaby@suse.czSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2080acf3
...@@ -279,11 +279,6 @@ static void v253_receive(struct tty_struct *tty, const unsigned char *cp, ...@@ -279,11 +279,6 @@ static void v253_receive(struct tty_struct *tty, const unsigned char *cp,
} }
} }
/* Line discipline .write_wakeup() */
static void v253_wakeup(struct tty_struct *tty)
{
}
struct tty_ldisc_ops v253_ops = { struct tty_ldisc_ops v253_ops = {
.name = "cx20442", .name = "cx20442",
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -291,7 +286,6 @@ struct tty_ldisc_ops v253_ops = { ...@@ -291,7 +286,6 @@ struct tty_ldisc_ops v253_ops = {
.close = v253_close, .close = v253_close,
.hangup = v253_hangup, .hangup = v253_hangup,
.receive_buf = v253_receive, .receive_buf = v253_receive,
.write_wakeup = v253_wakeup,
}; };
EXPORT_SYMBOL_GPL(v253_ops); EXPORT_SYMBOL_GPL(v253_ops);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment