OMAPDSS: Remove kfree for memory allocated with devm_kzalloc
authorEmil Goode <emilgoode@gmail.com>
Wed, 5 Jun 2013 17:29:56 +0000 (19:29 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:56 +0000 (14:00 +0300)
commitb0e449ce658c0eacbf7bdc76efe15a65359f63ef
tree0b338821d927fe8368cad7de2913745c06b42185
parent5391e87d1259e45fbb153aad97fe21a41403b534
OMAPDSS: Remove kfree for memory allocated with devm_kzalloc

It's not necessary to free memory allocated with devm_kzalloc
in a remove function and using kfree leads to a double free.

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/displays/panel-picodlp.c