From: Sascha Hauer Date: Wed, 1 Feb 2012 10:38:19 +0000 (+0100) Subject: drm crtc: use drm_mode_destroy instead of kfree in drm_mode_remove X-Git-Tag: v3.4-rc1~143^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=554f1d7888d4a1055965198d0ac46ba50e8b684e;p=pandora-kernel.git drm crtc: use drm_mode_destroy instead of kfree in drm_mode_remove Modes are created using drm_mode_create which does a drm_mode_object_get, so use drm_mode_destroy in drm_mode_remove which does a drm_mode_object_put. Signed-off-by: Sascha Hauer Signed-off-by: Dave Airlie --- Reading git-diff-tree failed