OMAPDSS: Generic DPI Panel: use devm_kzalloc for allocating driver data
authorArchit Taneja <archit@ti.com>
Fri, 14 Sep 2012 12:17:01 +0000 (15:17 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:45 +0000 (15:19 +0300)
commitf5e484d8abd06d4d82bd556780746414f2f56988
treee2b9a4f4a8a52d3085f69bac4ce33a2808af6cf9
parenta4419f3eac875e66a01b654024f6eda17d0dd558
OMAPDSS: Generic DPI Panel: use devm_kzalloc for allocating driver data

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

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