powerpc/spufs: Use simple_write_to_buffer
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 24 Dec 2010 20:03:56 +0000 (20:03 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:34 +0000 (14:08 +1100)
commit63c3b9d71bb66f4b62059713201f066ad9415bb5
treee35ff573627a759b407129903f80c298303f1fa0
parent06ca2188eccbd7932636ac5bde2837297800480e
powerpc/spufs: Use simple_write_to_buffer

Simplify several write fileoperations for spufs by using
simple_write_to_buffer().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/spufs/file.c