From: David Herrmann Date: Fri, 29 Aug 2014 10:12:41 +0000 (+0200) Subject: drm: simplify drm_*_set_unique() X-Git-Tag: fixes-against-v3.18-rc2~73^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0a39164b6adad0cec5046b6aad6b590cc9466cc;p=pandora-kernel.git drm: simplify drm_*_set_unique() Lets use kasprintf() to avoid pre-allocating the buffer. This is really nothing to optimize for speed and the input is trusted, so kasprintf() is just fine. Signed-off-by: David Herrmann Reviewed-by: Thierry Reding Reviewed-by: Daniel Vetter Signed-off-by: Dave Airlie --- Reading git-diff-tree failed