summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:22:35 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:22:35 +0200
commit5d4c6b0453a5dc8cd704144d1c0647855ff63656 (patch)
tree22a1530d545d63bdfc251c314bec72882739ebb9 /device.c
parentfc205d64fcd70cda2dc9176ce2662d71c51370ab (diff)
s/free_device/device_free/g
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index 120b1f0..239b547 100644
--- a/device.c
+++ b/device.c
@@ -268,7 +268,7 @@ void remove_device_user(struct device_user *dep)
if (list_empty(&dev->users)) {
/* all references have gone away, remove this device */
- free_device(dev);
+ device_free(dev);
}
dep->dev = NULL;
@@ -283,6 +283,6 @@ device_free_all(void)
if (!list_empty(&dev->users))
continue;
- free_device(dev);
+ device_free(dev);
}
}