Use the new read/write convention in drivers (fixes FTBFS)

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>