module: change attr callbacks to take struct module_kobject