diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:23:12 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:23:12 +0200 |
commit | a9030987750fefa9152539edeb44d5dd0a22cbcf (patch) | |
tree | e51cd39f5d78bbce3920d22e19ae621c428eb66c | |
parent | 5d4c6b0453a5dc8cd704144d1c0647855ff63656 (diff) |
s/remove_device_user/device_remove_user/g
-rw-r--r-- | bridge.c | 2 | ||||
-rw-r--r-- | device.c | 2 | ||||
-rw-r--r-- | device.h | 2 | ||||
-rw-r--r-- | interface.c | 2 | ||||
-rw-r--r-- | vlan.c | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -190,7 +190,7 @@ bridge_free_member(struct bridge_member *bm) } list_del(&bm->list); - remove_device_user(&bm->dev); + device_remove_user(&bm->dev); free(bm); } @@ -260,7 +260,7 @@ void add_device_user(struct device_user *dep, struct device *dev) } } -void remove_device_user(struct device_user *dep) +void device_remove_user(struct device_user *dep) { struct device *dev = dep->dev; @@ -134,7 +134,7 @@ int init_device(struct device *iface, const struct device_type *type, const char void cleanup_device(struct device *iface); struct device *get_device(const char *name, bool create); void add_device_user(struct device_user *dep, struct device *iface); -void remove_device_user(struct device_user *dep); +void device_remove_user(struct device_user *dep); void set_device_present(struct device *dev, bool state); int claim_device(struct device *dev); diff --git a/interface.c b/interface.c index c448e4d..9fa3799 100644 --- a/interface.c +++ b/interface.c @@ -276,7 +276,7 @@ interface_remove_link(struct interface *iface, struct device *dev) return; } - remove_device_user(&iface->main_dev); + device_remove_user(&iface->main_dev); } int @@ -18,7 +18,7 @@ static void free_vlan_if(struct device *iface) struct vlan_device *vldev; vldev = container_of(iface, struct vlan_device, dev); - remove_device_user(&vldev->dep); + device_remove_user(&vldev->dep); cleanup_device(&vldev->dev); free(vldev); } |