]> 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>
Thu, 18 Jul 2013 23:56:33 +0000 (09:56 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 18 Jul 2013 23:56:33 +0000 (09:56 +1000)
commit4acdc027956683d763c156defac85b4048507199
tree60a90fa3608a4f39bef28d14f9a3bc3bb78a6418
parentc7a33fa05295e0d35777fdbe687122edb31d7095
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