serial2002: switch serial2002_tty_write to kernel_{read/write}
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Sep 2017 15:39:16 +0000 (17:39 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Sep 2017 23:05:15 +0000 (19:05 -0400)
commit9a779bc149c79a7acae5614617a0a9e0fd007ce4
tree5d9b93101726ef4622c628a7222f2378be7dd8b9
parent73e18f7c0b3e1432353cdd86672c27cace7e6a7e
serial2002: switch serial2002_tty_write to kernel_{read/write}

Instead of playing games with the address limit.  This also gains
us proper usage of the write counter, time stamp updates and kvec
validation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/comedi/drivers/serial2002.c