commit | 057eeaee6803dafbbf2f79345643530e731ba7cb | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | Thu Dec 13 12:08:21 2012 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Thu Dec 13 12:08:21 2012 +0200 |
tree | f9a2452a84d21d182a32fd2c92e5929a8e6f34b4 | |
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>