Replace the hard-coded function names with __func__.

Signed-off-by: Thorsten Blum <[email protected]>
---
 arch/powerpc/platforms/embedded6xx/mvme5100.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/platforms/embedded6xx/mvme5100.c 
b/arch/powerpc/platforms/embedded6xx/mvme5100.c
index b2979a2a1721..f22e10eb0c65 100644
--- a/arch/powerpc/platforms/embedded6xx/mvme5100.c
+++ b/arch/powerpc/platforms/embedded6xx/mvme5100.c
@@ -75,13 +75,13 @@ static void __init mvme5100_pic_init(void)
 
        cp = of_find_compatible_node(NULL, NULL, "chrp,iic");
        if (cp == NULL) {
-               pr_warn("mvme5100_pic_init: couldn't find i8259\n");
+               pr_warn("%s: couldn't find i8259\n", __func__);
                return;
        }
 
        cirq = irq_of_parse_and_map(cp, 0);
        if (!cirq) {
-               pr_warn("mvme5100_pic_init: no cascade interrupt?\n");
+               pr_warn("%s: no cascade interrupt?\n", __func__);
                return;
        }
 
@@ -96,8 +96,7 @@ static void __init mvme5100_pic_init(void)
        }
 
        if (intack)
-               pr_debug("mvme5100_pic_init: PCI 8259 intack at 0x%016lx\n",
-                  intack);
+               pr_debug("%s: PCI 8259 intack at 0x%016lx\n", __func__, intack);
 
        i8259_init(cp, intack);
        of_node_put(cp);

Reply via email to