]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/irda/discovery.c
net: replace remaining __FUNCTION__ occurrences
[net-next-2.6.git] / net / irda / discovery.c
index 80c33f408e3fc2ccee1059d6141728cda89d1a27..bfacef8b76f44b6228e15b3025c3ea31d7d14ed4 100644 (file)
@@ -110,7 +110,7 @@ void irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log)
 {
        discovery_t *discovery;
 
-       IRDA_DEBUG(4, "%s()\n", __FUNCTION__);
+       IRDA_DEBUG(4, "%s()\n", __func__);
 
        /*
         *  If log is missing this means that IrLAP was unable to perform the
@@ -157,7 +157,7 @@ void irlmp_expire_discoveries(hashbin_t *log, __u32 saddr, int force)
        int                     i = 0;          /* How many we expired */
 
        IRDA_ASSERT(log != NULL, return;);
-       IRDA_DEBUG(4, "%s()\n", __FUNCTION__);
+       IRDA_DEBUG(4, "%s()\n", __func__);
 
        spin_lock_irqsave(&log->hb_spinlock, flags);