[PATCH] simple_read_buffer() helper function
A number of drivers or special virtual devices really just want their
"read()" function to populate user space from some internal buffer.
This adds such a helper function - "simple_read_from_buffer()" - and
converts several ->read() instances to use it.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment