module: change attr callbacks to take struct module_kobject
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 24 Jul 2011 12:36:04 +0000 (21:36 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 24 Jul 2011 12:36:04 +0000 (21:36 +0930)
commit4befb026cf74b52fc7d382142bbfc0e9b6aab5e7
tree48c4954f8eb9ab43f449750c3f4b0685fd323c03
parent66574cc05438dd0907029075d7e6ec5ac0036fbc
module: change attr callbacks to take struct module_kobject

This simplifies the next patch, where we have an attribute on a
builtin module (ie. module == NULL).

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (split into 2)
include/linux/module.h
kernel/module.c
kernel/params.c