]> asedeno.scripts.mit.edu Git - linux.git/commit
rpmsg: char: Migrate to iter versions of read and write
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 7 Aug 2018 07:14:24 +0000 (00:14 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 28 Aug 2018 00:06:57 +0000 (17:06 -0700)
commitccf45b18ce89f598c69a0c945ced1635013fc0b1
treed96faae9bf6d0e89940caefbc8713765f5f816f2
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
rpmsg: char: Migrate to iter versions of read and write

In order to be able to use the aio interface for writing to a rpmsg_char
the write_iter function must be implemented, so migrate to iter version
for read and write functions.

Regular read and write uses the iter methods if present and is as such
unaffected.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/rpmsg_char.c