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

From: Dan Carpenter
Date: Fri Mar 29 2019 - 07:03:29 EST


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