diff options
Diffstat (limited to 'arch/arm/mach-omap2/prm44xx.c')
-rw-r--r-- | arch/arm/mach-omap2/prm44xx.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c index 03a603476cfc..15171890f805 100644 --- a/arch/arm/mach-omap2/prm44xx.c +++ b/arch/arm/mach-omap2/prm44xx.c | |||
@@ -660,9 +660,6 @@ static struct prm_ll_data omap44xx_prm_ll_data = { | |||
660 | 660 | ||
661 | int __init omap44xx_prm_init(void) | 661 | int __init omap44xx_prm_init(void) |
662 | { | 662 | { |
663 | if (!cpu_is_omap44xx() && !soc_is_omap54xx() && !soc_is_dra7xx()) | ||
664 | return 0; | ||
665 | |||
666 | return prm_register(&omap44xx_prm_ll_data); | 663 | return prm_register(&omap44xx_prm_ll_data); |
667 | } | 664 | } |
668 | 665 | ||
@@ -679,11 +676,6 @@ omap_subsys_initcall(omap44xx_prm_late_init); | |||
679 | 676 | ||
680 | static void __exit omap44xx_prm_exit(void) | 677 | static void __exit omap44xx_prm_exit(void) |
681 | { | 678 | { |
682 | if (!cpu_is_omap44xx()) | 679 | prm_unregister(&omap44xx_prm_ll_data); |
683 | return; | ||
684 | |||
685 | /* Should never happen */ | ||
686 | WARN(prm_unregister(&omap44xx_prm_ll_data), | ||
687 | "%s: prm_ll_data function pointer mismatch\n", __func__); | ||
688 | } | 680 | } |
689 | __exitcall(omap44xx_prm_exit); | 681 | __exitcall(omap44xx_prm_exit); |