diff options
Diffstat (limited to 'net/ieee802154/wpan-class.c')
-rw-r--r-- | net/ieee802154/wpan-class.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ieee802154/wpan-class.c b/net/ieee802154/wpan-class.c index 0c51f85aa591..cd42e88b8397 100644 --- a/net/ieee802154/wpan-class.c +++ b/net/ieee802154/wpan-class.c | |||
@@ -168,10 +168,8 @@ struct wpan_phy *wpan_phy_alloc(size_t priv_size) | |||
168 | } | 168 | } |
169 | EXPORT_SYMBOL(wpan_phy_alloc); | 169 | EXPORT_SYMBOL(wpan_phy_alloc); |
170 | 170 | ||
171 | int wpan_phy_register(struct device *parent, struct wpan_phy *phy) | 171 | int wpan_phy_register(struct wpan_phy *phy) |
172 | { | 172 | { |
173 | phy->dev.parent = parent; | ||
174 | |||
175 | return device_add(&phy->dev); | 173 | return device_add(&phy->dev); |
176 | } | 174 | } |
177 | EXPORT_SYMBOL(wpan_phy_register); | 175 | EXPORT_SYMBOL(wpan_phy_register); |