powerpc/rtas_flash: Use simple_read_from_buffer
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 24 Dec 2010 20:03:59 +0000 (20:03 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:34 +0000 (14:08 +1100)
commit4c4a5cf64bfa0ddbe4145e6ca18a62eb70706edd
tree158861d9c9f7f0d367613b53e68dc4dacb0e13fe
parent63c3b9d71bb66f4b62059713201f066ad9415bb5
powerpc/rtas_flash: Use simple_read_from_buffer

Simplify read file operation for /proc/powerpc/rtas/* interface
by using simple_read_from_buffer.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/rtas_flash.c