Skip to content

Commit

Permalink
OMAP PM: remove OMAP_PM_NONE config option
Browse files Browse the repository at this point in the history
The current code base is not linking with the OMAP_PM_NONE
option set.
Since the option OMAP_PM_NOOP provides a no-op/debug layer,
OMAP_PM_NONE can be removed.
OMAP_PM_NOOP is enabled by default by Kconfig.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
  • Loading branch information
Jean Pihet authored and Paul Walmsley committed Jul 10, 2011
1 parent 3c95b70 commit 476e5be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions arch/arm/plat-omap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ choice
depends on ARCH_OMAP
default OMAP_PM_NOOP

config OMAP_PM_NONE
bool "No PM layer"

config OMAP_PM_NOOP
bool "No-op/debug PM layer"

Expand Down
8 changes: 0 additions & 8 deletions arch/arm/plat-omap/include/plat/omap-pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,15 @@
* framework starts. The "_if_" is to avoid name collisions with the
* PM idle-loop code.
*/
#ifdef CONFIG_OMAP_PM_NONE
#define omap_pm_if_early_init() 0
#else
int __init omap_pm_if_early_init(void);
#endif

/**
* omap_pm_if_init - OMAP PM init code called after clock fw init
*
* The main initialization code. OPP tables are passed in here. The
* "_if_" is to avoid name collisions with the PM idle-loop code.
*/
#ifdef CONFIG_OMAP_PM_NONE
#define omap_pm_if_init() 0
#else
int __init omap_pm_if_init(void);
#endif

/**
* omap_pm_if_exit - OMAP PM exit code
Expand Down

0 comments on commit 476e5be

Please sign in to comment.