diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 84cc0bdda3ae..6b3088db83b7 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -1954,9 +1954,6 @@ int __init omap_hwmod_register(struct omap_hwmod **ohs) | |||
1954 | 1954 | ||
1955 | i = 0; | 1955 | i = 0; |
1956 | do { | 1956 | do { |
1957 | if (!omap_chip_is(ohs[i]->omap_chip)) | ||
1958 | continue; | ||
1959 | |||
1960 | r = _register(ohs[i]); | 1957 | r = _register(ohs[i]); |
1961 | WARN(r, "omap_hwmod: %s: _register returned %d\n", ohs[i]->name, | 1958 | WARN(r, "omap_hwmod: %s: _register returned %d\n", ohs[i]->name, |
1962 | r); | 1959 | r); |
@@ -2628,7 +2625,7 @@ ohsps_unlock: | |||
2628 | * Returns the context loss count of the powerdomain assocated with @oh | 2625 | * Returns the context loss count of the powerdomain assocated with @oh |
2629 | * upon success, or zero if no powerdomain exists for @oh. | 2626 | * upon success, or zero if no powerdomain exists for @oh. |
2630 | */ | 2627 | */ |
2631 | u32 omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) | 2628 | int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) |
2632 | { | 2629 | { |
2633 | struct powerdomain *pwrdm; | 2630 | struct powerdomain *pwrdm; |
2634 | int ret = 0; | 2631 | int ret = 0; |