aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2023-08-10 09:14:55 +0000
committerGreg Kroah-Hartman <[email protected]>2023-08-11 19:12:46 +0000
commitf47a4fd67f2a803f205db7a4136571c2bd487297 (patch)
tree527043d068c1361f61ca3ce94377e4d15c0edaf5 /drivers/usb/class/cdc-acm.c
parenttty: tty_buffer: make all offsets unsigned (diff)
downloadkernel-f47a4fd67f2a803f205db7a4136571c2bd487297.tar.gz
kernel-f47a4fd67f2a803f205db7a4136571c2bd487297.zip
tty: don't pass write() to do_tty_write()
write() passed to do_tty_write() is always ld->ops->write(). Instead, align with iterate_tty_read() and pass the whole ld instead. This makes the code easier to follow as it is clear what the write is. And also the function signature is more readable. Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions