drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data
authorJyri Sarha <jsarha@ti.com>
Tue, 23 Feb 2016 10:44:27 +0000 (12:44 +0200)
committerJyri Sarha <jsarha@ti.com>
Thu, 25 Feb 2016 14:39:47 +0000 (16:39 +0200)
commitd0ec32caef0baa490b419895ef61c8481d49f7cd
tree692f1536a070894fdf9abef665c9e77c99bc0596
parentd66284fba15014daacef64cfc610a249553534c6
drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data

Use devm_kzalloc() and devm_kcalloc() for private data allocation at
driver load time.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c
drivers/gpu/drm/tilcdc/tilcdc_panel.c
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c