diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-02 19:19:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:23 -0500 |
commit | 15f2f9b3a9db65aaf908fe7ee17bbe262ae3550f (patch) | |
tree | a0553775a92887b82aa2869535f2d832344e2c42 /drivers/base | |
parent | 99e0d2fc6c60ca44f56203eeda9fc0e07b508f06 (diff) |
firmware: remove firmware_(un)register()
These functions are no longer called or needed, so we can remove them.
As I rewrote the whole firmware.c file, add my copyright.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/firmware.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/drivers/base/firmware.c b/drivers/base/firmware.c index c7f635b11dfd..9efff481f5dc 100644 --- a/drivers/base/firmware.c +++ b/drivers/base/firmware.c | |||
@@ -3,11 +3,11 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2002-3 Patrick Mochel | 4 | * Copyright (c) 2002-3 Patrick Mochel |
5 | * Copyright (c) 2002-3 Open Source Development Labs | 5 | * Copyright (c) 2002-3 Open Source Development Labs |
6 | * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de> | ||
7 | * Copyright (c) 2007 Novell Inc. | ||
6 | * | 8 | * |
7 | * This file is released under the GPLv2 | 9 | * This file is released under the GPLv2 |
8 | * | ||
9 | */ | 10 | */ |
10 | |||
11 | #include <linux/kobject.h> | 11 | #include <linux/kobject.h> |
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
@@ -18,18 +18,6 @@ | |||
18 | struct kset *firmware_kset; | 18 | struct kset *firmware_kset; |
19 | EXPORT_SYMBOL_GPL(firmware_kset); | 19 | EXPORT_SYMBOL_GPL(firmware_kset); |
20 | 20 | ||
21 | int firmware_register(struct kset *s) | ||
22 | { | ||
23 | s->kobj.kset = firmware_kset; | ||
24 | s->kobj.ktype = NULL; | ||
25 | return subsystem_register(s); | ||
26 | } | ||
27 | |||
28 | void firmware_unregister(struct kset *s) | ||
29 | { | ||
30 | subsystem_unregister(s); | ||
31 | } | ||
32 | |||
33 | int __init firmware_init(void) | 21 | int __init firmware_init(void) |
34 | { | 22 | { |
35 | firmware_kset = kset_create_and_add("firmware", NULL, NULL); | 23 | firmware_kset = kset_create_and_add("firmware", NULL, NULL); |
@@ -37,6 +25,3 @@ int __init firmware_init(void) | |||
37 | return -ENOMEM; | 25 | return -ENOMEM; |
38 | return 0; | 26 | return 0; |
39 | } | 27 | } |
40 | |||
41 | EXPORT_SYMBOL_GPL(firmware_register); | ||
42 | EXPORT_SYMBOL_GPL(firmware_unregister); | ||