module: Use __module_address() for module_address_lookup()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 27 May 2015 01:39:37 +0000 (11:09 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 28 May 2015 02:02:08 +0000 (11:32 +0930)
commitb7df4d1b23bfca830f1076412d21524686c5a441
treecd496160a6e3b493bb8d508e910a84eeb4ac6a09
parent6c9692e2d6a2206d8fd75ea247daa47fb75e4a02
module: Use __module_address() for module_address_lookup()

Use the generic __module_address() addr to struct module lookup
instead of open coding it once more.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c