batman-adv: rename batadv_softif_destroy to reflect sysfs use case
[linux-2.6-block.git] / net / batman-adv / soft-interface.c
index e889bfb1bfc372faf12e59cf1076a7e715ccf1e9..bc77a5be960d24154b3d1408132c3a43217b19ff 100644 (file)
@@ -581,7 +581,11 @@ struct net_device *batadv_softif_create(const char *name)
        return soft_iface;
 }
 
-void batadv_softif_destroy(struct net_device *soft_iface)
+/**
+ * batadv_softif_destroy_sysfs - deletion of batadv_soft_interface via sysfs
+ * @soft_iface: the to-be-removed batman-adv interface
+ */
+void batadv_softif_destroy_sysfs(struct net_device *soft_iface)
 {
        struct batadv_priv *bat_priv = netdev_priv(soft_iface);