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

Dan Carpenter
2019-03-29T11:03:29Z

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