]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89dd3781a9ce181535080b0a4418ac3a5336688e
treea108af20681fcab3ab87ff1dc44d1c2f262ec817
parent7d2bde1f64eb84f4fe779b533624c166f1a4958f
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