OSDN Git Service

phy: un-inline devm_mdiobus_register()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 29 Jun 2020 12:03:41 +0000 (14:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 22:57:34 +0000 (15:57 -0700)
commit8b11c20a658de159fcf18ebce4f2acfdf747ff25
treea108af20681fcab3ab87ff1dc44d1c2f262ec817
parentbd8ff6de0cf5b05bc7e1822aec79edac05b02a35
phy: un-inline devm_mdiobus_register()

Functions should only be static inline if they're very short. This
devres helper is already over 10 lines and it will grow soon as we'll
be improving upon its approach. Pull it into mdio_devres.c.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Makefile
drivers/net/phy/mdio_devres.c [new file with mode: 0644]
include/linux/phy.h