]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/mtd/chips/gen_probe.c: refactor call to request_module()
authorKees Cook <keescook@chromium.org>
Wed, 19 Jun 2013 00:05:35 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:46 +0000 (17:12 +1000)
commit1e9be1912ee00927c6eb97fbf363c02b879ce5db
tree4c52f7f60f8bd40e406929c73e132762c28673ca
parentb38a6008b04d7fd62d4cbd02d5a7030d78e19606
drivers/mtd/chips/gen_probe.c: 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>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/mtd/chips/gen_probe.c