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
120b1f0
..
239b547
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 */
if (list_empty(&dev->users)) {
/* all references have gone away, remove this device */
-
free_devic
e(dev);
+
device_fre
e(dev);
}
dep->dev = NULL;
}
dep->dev = NULL;
@@
-283,6
+283,6
@@
device_free_all(void)
if (!list_empty(&dev->users))
continue;
if (!list_empty(&dev->users))
continue;
-
free_devic
e(dev);
+
device_fre
e(dev);
}
}
}
}
diff --git
a/device.h
b/device.h
index
0406dcf
..
913f3a9
100644
(file)
--- a/
device.h
+++ b/
device.h
@@
-120,7
+120,7
@@
struct device_hotplug_ops {
};
static inline void
};
static inline void
-
free_devic
e(struct device *dev)
+
device_fre
e(struct device *dev)
{
dev->type->free(dev);
}
{
dev->type->free(dev);
}