diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-13 16:15:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-02 21:57:59 -0400 |
commit | 823bccfc4002296ba88c3ad0f049e1abd8108d30 (patch) | |
tree | 5338ae0b32409446af4cd00c5107d9405d5bf0b6 /arch/arm/mach-omap1/pm.c | |
parent | 2609e7b9bebfd433254c02538ba803dc516ff674 (diff) |
remove "struct subsystem" as it is no longer needed
We need to work on cleaning up the relationship between kobjects, ksets and
ktypes. The removal of 'struct subsystem' is the first step of this,
especially as it is not really needed at all.
Thanks to Kay for fixing the bugs in this patch.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/arm/mach-omap1/pm.c')
-rw-r--r-- | arch/arm/mach-omap1/pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 0383ab334270..6f4ea4bda5e0 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c | |||
@@ -72,12 +72,12 @@ static unsigned int mpui1610_sleep_save[MPUI1610_SLEEP_SAVE_SIZE]; | |||
72 | 72 | ||
73 | static unsigned short enable_dyn_sleep = 1; | 73 | static unsigned short enable_dyn_sleep = 1; |
74 | 74 | ||
75 | static ssize_t omap_pm_sleep_while_idle_show(struct subsystem * subsys, char *buf) | 75 | static ssize_t omap_pm_sleep_while_idle_show(struct kset *kset, char *buf) |
76 | { | 76 | { |
77 | return sprintf(buf, "%hu\n", enable_dyn_sleep); | 77 | return sprintf(buf, "%hu\n", enable_dyn_sleep); |
78 | } | 78 | } |
79 | 79 | ||
80 | static ssize_t omap_pm_sleep_while_idle_store(struct subsystem * subsys, | 80 | static ssize_t omap_pm_sleep_while_idle_store(struct kset *kset, |
81 | const char * buf, | 81 | const char * buf, |
82 | size_t n) | 82 | size_t n) |
83 | { | 83 | { |
@@ -100,7 +100,7 @@ static struct subsys_attribute sleep_while_idle_attr = { | |||
100 | .store = omap_pm_sleep_while_idle_store, | 100 | .store = omap_pm_sleep_while_idle_store, |
101 | }; | 101 | }; |
102 | 102 | ||
103 | extern struct subsystem power_subsys; | 103 | extern struct kset power_subsys; |
104 | static void (*omap_sram_idle)(void) = NULL; | 104 | static void (*omap_sram_idle)(void) = NULL; |
105 | static void (*omap_sram_suspend)(unsigned long r0, unsigned long r1) = NULL; | 105 | static void (*omap_sram_suspend)(unsigned long r0, unsigned long r1) = NULL; |
106 | 106 | ||