Change the callback context to the dev pointer instead of the data pointer, as the dev pointer is needed by RTIO. Signed-off-by: Jordan Yates <jordan@embeint.com>
Extract code useful for an RTIO implementation to a separate file. Signed-off-by: Jordan Yates <jordan@embeint.com>