projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc205d6
)
s/free_device/device_free/g
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 29 Jul 2011 17:22:35 +0000
(19:22 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 29 Jul 2011 17:22:35 +0000
(19:22 +0200)
device.c
patch
|
blob
|
history
device.h
patch
|
blob
|
history
diff --git
a/device.c
b/device.c
index 120b1f0a3d009ae08ad377f0fe24643387f645f8..239b547abfd193d825615bb38f09c1986ead3691 100644
(file)
--- 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_devic
e(dev);
+
device_fre
e(dev);
}
dep->dev = NULL;
@@
-283,6
+283,6
@@
device_free_all(void)
if (!list_empty(&dev->users))
continue;
-
free_devic
e(dev);
+
device_fre
e(dev);
}
}
diff --git
a/device.h
b/device.h
index 0406dcf7ac3593cf4ccb29fdb4903d87ccf9119e..913f3a981176daf2149abfb3f1a87cf454fd2727 100644
(file)
--- a/
device.h
+++ b/
device.h
@@
-120,7
+120,7
@@
struct device_hotplug_ops {
};
static inline void
-
free_devic
e(struct device *dev)
+
device_fre
e(struct device *dev)
{
dev->type->free(dev);
}