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)
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>

No differences found