diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-09 10:36:47 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-09 21:50:28 +0300 |
commit | f601379fa113906b8bf4389a62002def283519c9 (patch) | |
tree | 4c8a681b73693f4ad536db63fa64329cb9c44670 /include/net/cfg802154.h | |
parent | 5fb3f026ae15827fe32e34adafce0d0f63ad0366 (diff) | |
download | linux-f601379fa113906b8bf4389a62002def283519c9.tar.xz |
ieee802154: rename wpan_phy_alloc
This patch renames the wpan_phy_alloc function to wpan_phy_new. This
naming convention is like wireless and "wiphy_new" function.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/cfg802154.h')
-rw-r--r-- | include/net/cfg802154.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index ac8dd3b8669d..72c4723a1206 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h @@ -88,7 +88,7 @@ struct wpan_dev { #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev) struct wpan_phy * -wpan_phy_alloc(const struct cfg802154_ops *ops, size_t priv_size); +wpan_phy_new(const struct cfg802154_ops *ops, size_t priv_size); static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev) { phy->dev.parent = dev; |