/* Deallocates a colormap that was previously allocated with fb_alloc_cmap().  */
void fb_dealloc_cmap(struct fb_cmap *cmap)
/* Deallocates a colormap that was previously allocated with fb_alloc_cmap().  */
void fb_dealloc_cmap(struct fb_cmap *cmap)
{
	kfree(cmap->red);
	kfree(cmap->green);
	kfree(cmap->blue);
	kfree(cmap->transp);
	cmap->red = cmap->green = cmap->blue = cmap->transp = NULL;
	cmap->len = 0;
}