summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
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 61b50bc..a71d908 100644
--- a/device.c
+++ b/device.c
@@ -98,7 +98,7 @@ static void __init dev_init(void)
static void free_simple_device(struct device *dev)
{
- cleanup_device(dev);
+ device_cleanup(dev);
free(dev);
}
@@ -223,7 +223,7 @@ struct device *get_device(const char *name, bool create)
return dev;
}
-void cleanup_device(struct device *dev)
+void device_cleanup(struct device *dev)
{
struct device_user *dep, *tmp;