aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/msm
AgeCommit message (Collapse)AuthorFilesLines
2015-06-18msm: msm_fb: Remove dead codeStephen Boyd13-5685/+0
This code is no longer used now that mach-msm has been removed. Delete it. Cc: Jean-Christophe Plagniol-Villard <[email protected]> Cc: Tomi Valkeinen <[email protected]> Cc: David Brown <[email protected]> Cc: Bryan Huntsman <[email protected]> Cc: Daniel Walker <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2014-08-26msm: msm_fb: Move to using managed resources of kzallocPramod Gurav1-2/+7
Move to managed verion of kzalloc. Also checks return for failure case which was missing. Signed-off-by: Pramod Gurav <[email protected]> CC: Jean-Christophe Plagniol-Villard <[email protected]> CC: Tomi Valkeinen <[email protected]> CC: Stephen Boyd <[email protected]> CC: Jingoo Han <[email protected]> CC: Rob Clark <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2014-08-26msm: msm_fb: Add remove function for platform driver for clean unloadingPramod Gurav1-0/+16
This adds a remove function to platform driver structure so that resources are released when driver is unloaded. Signed-off-by: Pramod Gurav <[email protected]> CC: Jean-Christophe Plagniol-Villard <[email protected]> CC: Tomi Valkeinen <[email protected]> CC: Stephen Boyd <[email protected]> CC: Jingoo Han <[email protected]> CC: Rob Clark <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2014-06-24video: msm: Introduce the use of the managed version of kzallocHimangi Saraogi1-16/+3
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, linux/device.h is added to make sure the devm_*() routine declarations are unambiguously available. The function mddi_dummy_remove is removed as it is no longer required after removing the kfree. The variable ret is also done away with. The following Coccinelle semantic patch was used for making a part of the change: @platform@ identifier p, probefn, removefn; @@ struct platform_driver p = { .probe = probefn, .remove = removefn, }; @prb@ identifier platform.probefn, pdev; expression e, e1, e2; @@ probefn(struct platform_device *pdev, ...) { <+... - e = kzalloc(e1, e2) + e = devm_kzalloc(&pdev->dev, e1, e2) ... ?-kfree(e); ...+> } @rem depends on prb@ identifier platform.removefn; expression e; @@ removefn(...) { <... - kfree(e); ...> } Signed-off-by: Himangi Saraogi <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2014-04-17video: move fbdev to drivers/video/fbdevTomi Valkeinen13-0/+5677
The drivers/video directory is a mess. It contains generic video related files, directories for backlight, console, linux logo, lots of fbdev device drivers, fbdev framework files. Make some order into the chaos by creating drivers/video/fbdev directory, and move all fbdev related files there. No functionality is changed, although I guess it is possible that some subtle Makefile build order related issue could be created by this patch. Signed-off-by: Tomi Valkeinen <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Acked-by: Rob Clark <[email protected]> Acked-by: Jingoo Han <[email protected]> Acked-by: Daniel Vetter <[email protected]>