drm/shmobile: Use devm_* managed functions
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 25 Apr 2013 10:12:33 +0000 (12:12 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 20 Jun 2013 08:07:14 +0000 (10:07 +0200)
commit16ad3b2ce8dd5840c7661990476c3693569dab5a
tree0b42d67878932b8d9188fdae08e95f0ed5b31e59
parent2e7c9b351dee0c89e78c9a0432f71738a0ecc287
drm/shmobile: Use devm_* managed functions

This simplifies cleanup paths and fixes a probe time crash in the error
path when trying to cleanup mode setting before it was initialized.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/shmobile/shmob_drm_drv.c
drivers/gpu/drm/shmobile/shmob_drm_plane.c