[PATCH] staging: android: ion: refactory ion_alloc for kernel driver use

Dan Carpenter dan.carpenter at oracle.com
Fri Mar 29 11:02:58 UTC 2019


If we're going to export ion_alloc() for other drivers to use then let's
make an ion_free() helper function as well.

void ion_free(struct dma_buf *dmabuf)
{
	dma_buf_put(dmabuf);
}

regards,
dan carpenter



More information about the dri-devel mailing list