]> 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)
commitbc80c8a7beec33dbac9b0722b36353a74ab9795a
treea108af20681fcab3ab87ff1dc44d1c2f262ec817
parentabc9f28ab34081fb8848d89c5c56176b67b414ee
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