coh901318: don't open-code simple_read_from_buffer()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 16 Jul 2013 13:58:45 +0000 (17:58 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Sep 2013 02:52:46 +0000 (22:52 -0400)
commit5d30b4274f1f3315f48ad4b2a9a41abc94d11d16
tree3acf57ad91649fea243704d1ffc6d370c35024dc
parentbadcf2b7b816130a60152d9f5a06705176596925
coh901318: don't open-code simple_read_from_buffer()

... and BTW, failing copy_to_user() means EFAULT, not EINVAL

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/dma/coh901318.c