kset-example.c (5fd637e7a75fb2a4c0b62683c08dae959160fedf) kset-example.c (07afb6ace3bde4ffdce26befa6b2f38c5d708dd0)
1/*
2 * Sample kset and ktype implementation
3 *
4 * Copyright (C) 2004-2007 Greg Kroah-Hartman <greg@kroah.com>
5 * Copyright (C) 2007 Novell Inc.
6 *
7 * Released under the GPL version 2 only.
8 *

--- 271 unchanged lines hidden (view full) ---

280 destroy_foo_obj(baz_obj);
281 destroy_foo_obj(bar_obj);
282 destroy_foo_obj(foo_obj);
283 kset_unregister(example_kset);
284}
285
286module_init(example_init);
287module_exit(example_exit);
1/*
2 * Sample kset and ktype implementation
3 *
4 * Copyright (C) 2004-2007 Greg Kroah-Hartman <greg@kroah.com>
5 * Copyright (C) 2007 Novell Inc.
6 *
7 * Released under the GPL version 2 only.
8 *

--- 271 unchanged lines hidden (view full) ---

280 destroy_foo_obj(baz_obj);
281 destroy_foo_obj(bar_obj);
282 destroy_foo_obj(foo_obj);
283 kset_unregister(example_kset);
284}
285
286module_init(example_init);
287module_exit(example_exit);
288MODULE_LICENSE("GPL");
288MODULE_LICENSE("GPL v2");
289MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>");
289MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>");