drm: refactor call to request_module
authorKees Cook <keescook@chromium.org>
Tue, 7 May 2013 19:32:16 +0000 (12:32 -0700)
committerDave Airlie <airlied@redhat.com>
Fri, 10 May 2013 04:46:03 +0000 (14:46 +1000)
commitd1fd3ddc469b576e36184f2bd02c0301d80118d3
tree3fd39ec0d4a6893094a28170615b1b78d18a2b11
parentebbd97ad885c3c41f56a5f81c27b1ea8156a0f07
drm: refactor call to request_module

This reduces the size of the stack frame when calling request_module().
Performing the sprintf before the call is not needed.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_encoder_slave.c