module: sysfs cleanup
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 18:59:09 +0000 (12:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 03:29:09 +0000 (12:59 +0930)
commit8f6d037815466cb25e7de8f00536eca71d94d4c3
tree2ac887a230476a7550ff0360dd1ae0b678da8d82
parentd913188c75191114051cf0bac75dad444c6080fa
module: sysfs cleanup

We change the sysfs functions to take struct load_info, and call
them all in mod_sysfs_setup().

We also clean up the #ifdefs a little.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c