OMAPDSS: picodlp: use devm_kzalloc for allocating driver data
authorArchit Taneja <archit@ti.com>
Tue, 20 Nov 2012 08:53:27 +0000 (14:23 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:46 +0000 (15:19 +0300)
commite1b94f1df772331026c9b6dd44a5e154e947b44b
tree1b0177345f9e9232553af64d244b9cf96134f483
parente4dace469fa2244e3bff07707b79ef0e1a5d13db
OMAPDSS: picodlp: use devm_kzalloc for allocating driver data

Use devm_kzalloc instead of kzalloc to allocate driver data for the picodlp
panel driver. This simplifies the driver's probe and remove functions.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-picodlp.c