]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5c7d63d11340985112db964c80722b64706f7b6
tree0b42d67878932b8d9188fdae08e95f0ed5b31e59
parent5e3e10a926c76f1aeef27a99981a7cb798f616bf
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