mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 14:23:49 +01:00
Based on 1 normalized pattern(s): this file is released under the gplv2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 68 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Armijn Hemel <[email protected]> Reviewed-by: Allison Randal <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
24 lines
512 B
C
24 lines
512 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* generic display timing functions
|
|
*
|
|
* Copyright (c) 2012 Steffen Trumtrar <[email protected]>, Pengutronix
|
|
*/
|
|
|
|
#include <linux/export.h>
|
|
#include <linux/slab.h>
|
|
#include <video/display_timing.h>
|
|
|
|
void display_timings_release(struct display_timings *disp)
|
|
{
|
|
if (disp->timings) {
|
|
unsigned int i;
|
|
|
|
for (i = 0; i < disp->num_timings; i++)
|
|
kfree(disp->timings[i]);
|
|
kfree(disp->timings);
|
|
}
|
|
kfree(disp);
|
|
}
|
|
EXPORT_SYMBOL_GPL(display_timings_release);
|