summaryrefslogtreecommitdiffhomepage
path: root/vlan.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:26:07 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:26:07 +0200
commit02a1a2d7b59b584e702b87d8aca0f3941b83176d (patch)
tree4baa9102283bdeacf065ec747bb53ccf253ae985 /vlan.c
parent170304603e7d905e98301c703ad2ec107b9a774c (diff)
s/release_device/device_release/
Diffstat (limited to 'vlan.c')
-rw-r--r--vlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vlan.c b/vlan.c
index 85fe078..18cb939 100644
--- a/vlan.c
+++ b/vlan.c
@@ -32,7 +32,7 @@ static int vlan_set_device_state(struct device *dev, bool up)
if (!up) {
vldev->set_state(dev, false);
system_vlan_del(dev);
- release_device(vldev->dep.dev);
+ device_release(vldev->dep.dev);
return 0;
}
@@ -43,7 +43,7 @@ static int vlan_set_device_state(struct device *dev, bool up)
system_vlan_add(vldev->dep.dev, vldev->id);
ret = vldev->set_state(dev, true);
if (ret)
- release_device(vldev->dep.dev);
+ device_release(vldev->dep.dev);
return ret;
}