drm/tilcdc: Stop using struct drm_driver load() callback
authorJyri Sarha <jsarha@ti.com>
Mon, 17 Oct 2016 14:53:33 +0000 (17:53 +0300)
committerJyri Sarha <jsarha@ti.com>
Tue, 29 Nov 2016 19:03:19 +0000 (21:03 +0200)
commit923310ba73d742450bb41bb017cb1b6704bd32b5
treea43537c6a25e39c0ccc550be038b8a83f10a3f75
parent15d704e53c7d870f58558839eadfca7bcb8de5f5
drm/tilcdc: Stop using struct drm_driver load() callback

Stop using struct drm_driver load() and unload() callbacks. The
callbacks should not be used anymore. Instead of using load the
drm_device is allocated with drm_dev_alloc() and registered with
drm_dev_register() only after the driver is completely initialized.
The deinitialization is done directly either in component unbind
callback or in platform driver demove callback.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/tilcdc/tilcdc_drv.c