linux/drivers/video/msm
Damien Cassou a654ddac08 drivers/video/msm/mddi_client_nt35399.c: use devm_ functions
The various devm_ functions allocate memory that is released when a driver
detaches. This patch replaces the use of kzalloc by devm_kzalloc.

Additionally, this patch fixes a memory leak: some memory was allocated for
'panel' but not released when the subsequent call to setup_vsync fails.

Signed-off-by: Damien Cassou <damien.cassou@lifl.fr>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2012-08-23 13:16:11 +00:00
..
Makefile
mddi.c video: msm: Fix section mismatches in mddi.c 2012-04-13 10:23:17 -07:00
mddi_client_dummy.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mddi_client_nt35399.c drivers/video/msm/mddi_client_nt35399.c: use devm_ functions 2012-08-23 13:16:11 +00:00
mddi_client_toshiba.c video: use gpio_request_one 2012-01-28 20:50:11 +00:00
mddi_hw.h
mdp.c video: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/video 2011-10-31 19:31:33 -04:00
mdp_csc_table.h
mdp_hw.h msm: mdp: Set the correct pack pattern for XRGB/ARGB 2011-03-08 11:54:46 -08:00
mdp_ppp.c msm: mdp: Add support for RGBX 8888 image format. 2011-03-02 13:43:15 -08:00
mdp_scale_tables.c
mdp_scale_tables.h
msm_fb.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00