wpan-phy: follow usual patter of devices registration
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 28 Sep 2009 15:01:20 +0000 (19:01 +0400)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fri, 6 Nov 2009 11:29:50 +0000 (14:29 +0300)
commite9cf356c0c6b975fda84b15a5abdd1db88d74f84
tree50b66c4f169939727f7c4592a8a1b44fe13eba79
parenta0b4a738e0e03f5e0d6ca366560f9a48e5adf83a
wpan-phy: follow usual patter of devices registration

Follow the usual pattern of devices registration by adding new function
(wpan_phy_set_dev) that sets child->parent relationship and removing
parent argument from wpan_phy_register call.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
drivers/ieee802154/fakehard.c
include/net/wpan-phy.h
net/ieee802154/wpan-class.c