OMAPDSS: lb035q02: use devm_kzalloc for allocating driver data
authorArchit Taneja <archit@ti.com>
Fri, 30 Nov 2012 09:39:07 +0000 (15:09 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:46 +0000 (15:19 +0300)
commite4dace469fa2244e3bff07707b79ef0e1a5d13db
treef45dd248fd8c8a89a42bcc078a14b6fc3e8c7336
parentf5e484d8abd06d4d82bd556780746414f2f56988
OMAPDSS: lb035q02: use devm_kzalloc for allocating driver data

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

Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-lgphilips-lb035q02.c