OMAP: mux: Add __func__ macro to pr_xxx macros
Removed mux: and added the __func__ macro to make debugging
easier.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
diff --git a/arch/arm/mach-omap2/mux44xx.c b/arch/arm/mach-omap2/mux44xx.c
index 80335f3..980f11d 100644
--- a/arch/arm/mach-omap2/mux44xx.c
+++ b/arch/arm/mach-omap2/mux44xx.c
@@ -1590,17 +1590,17 @@
switch (flags & OMAP_PACKAGE_MASK) {
case OMAP_PACKAGE_CBL:
- pr_debug("mux: OMAP4430 ES1.0 -> OMAP_PACKAGE_CBL\n");
+ pr_debug("%s: OMAP4430 ES1.0 -> OMAP_PACKAGE_CBL\n", __func__);
package_balls_core = omap4_core_cbl_ball;
core_muxmodes = omap4_core_muxmodes;
break;
case OMAP_PACKAGE_CBS:
- pr_debug("mux: OMAP4430 ES2.X -> OMAP_PACKAGE_CBS\n");
+ pr_debug("%s: OMAP4430 ES2.X -> OMAP_PACKAGE_CBS\n", __func__);
package_balls_core = omap4_core_cbs_ball;
core_muxmodes = omap4_es2_core_muxmodes;
break;
default:
- pr_err("mux: Unknown omap package, mux disabled\n");
+ pr_err("%s: Unknown omap package, mux disabled\n", __func__);
return -EINVAL;
}