diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:26:07 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:26:07 +0200 |
commit | 02a1a2d7b59b584e702b87d8aca0f3941b83176d (patch) | |
tree | 4baa9102283bdeacf065ec747bb53ccf253ae985 /vlan.c | |
parent | 170304603e7d905e98301c703ad2ec107b9a774c (diff) |
s/release_device/device_release/
Diffstat (limited to 'vlan.c')
-rw-r--r-- | vlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |