From: Jesse Barnes Date: Wed, 12 Feb 2014 23:03:40 +0000 (-0800) Subject: drm/i915: don't preserve inherited configs with nothing on v2 X-Git-Tag: v3.15-rc1~51^2~59^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02f5eebb63ad52c832a81109d68718df6cb1155e;p=pandora-kernel.git drm/i915: don't preserve inherited configs with nothing on v2 It can be corrected later and may be what was actually desired, but generally isn't, so if we find nothing is enabled, let the core DRM fb helper figure something out. v2: free the array too (Jesse) Note that this also undoes any changes in case we bail out due to hw cloning. Signed-off-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed