summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/shmobile
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-29 12:12:41 +0200
committerDave Airlie <airlied@redhat.com>2014-09-10 17:42:14 +1000
commitd0a39164b6adad0cec5046b6aad6b590cc9466cc (patch)
tree84ed1ba6ab36604fa2783f93a91229637e2c9b16 /drivers/gpu/drm/shmobile
parentd7d2c48e5cfe27dc7378e48d4f22efcf417317d9 (diff)
downloadop-kernel-dev-d0a39164b6adad0cec5046b6aad6b590cc9466cc.zip
op-kernel-dev-d0a39164b6adad0cec5046b6aad6b590cc9466cc.tar.gz
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 <dh.herrmann@gmail.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/shmobile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud