diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-13 12:08:21 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-13 12:08:21 +0200 |
commit | 057eeaee6803dafbbf2f79345643530e731ba7cb (patch) | |
tree | f9a2452a84d21d182a32fd2c92e5929a8e6f34b4 /lib/fdt_sw.c | |
parent | 8105c94bc4f94478c67afb7593724e4d684dd9c0 (diff) |
OMAPFB: use devm_kzalloc to allocate omapfb2_device
Use devm_kzalloc to allocate omapfb2_device. This fixes possible memory
leak:
drivers/video/omap2/omapfb/omapfb-main.c:2553 omapfb_probe() warn:
possible memory leak of 'fbdev'
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'lib/fdt_sw.c')
0 files changed, 0 insertions, 0 deletions