diff options
author | Djamil Elaidi <d-elaidi@ti.com> | 2012-01-03 17:18:26 +0100 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:59:18 +0200 |
commit | 7996b047ffef4e65888f8a80b08d7a3c45792e1c (patch) | |
tree | 1f061026eb431d75f4068b171a19318615602fcf /arch/arm/mach-omap2 | |
parent | 2619b5aaf2f7abc9ae42d8671a354f54305daf2a (diff) | |
download | kernel_samsung_tuna-7996b047ffef4e65888f8a80b08d7a3c45792e1c.zip kernel_samsung_tuna-7996b047ffef4e65888f8a80b08d7a3c45792e1c.tar.gz kernel_samsung_tuna-7996b047ffef4e65888f8a80b08d7a3c45792e1c.tar.bz2 |
OMAP4: opp: remove WARN when initializing OPP of unregistered devices
OPP for unregistered omap_device or hwmod can now be initialized without
producing a kernel warning.
Change-Id: I4934314c49a57a75a1f7b849aa06a403045088af
Signed-off-by: Djamil Elaidi <d-elaidi@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/opp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/opp.c b/arch/arm/mach-omap2/opp.c index 1858712..e899c00 100644 --- a/arch/arm/mach-omap2/opp.c +++ b/arch/arm/mach-omap2/opp.c @@ -69,7 +69,7 @@ int __init omap_init_opp_table(struct omap_opp_def *opp_def, } oh = omap_hwmod_lookup(opp_def->hwmod_name); if (!oh || !oh->od) { - WARN(1, "%s: no hwmod or odev for %s, [%d] " + pr_warn("%s: no hwmod or odev for %s, [%d] " "cannot add OPPs.\n", __func__, opp_def->hwmod_name, i); continue; |