aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-05-14 18:59:38 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-14 17:58:46 -0700
commit140ad6c8c6c7a89546cdcbc46da6cd56011cfee1 (patch)
tree7d4e5482453548facac5e957311a0ed98cae7988
parentdt-bindings: dp83867: Convert DP83867 to yaml (diff)
downloadlinux-dev-140ad6c8c6c7a89546cdcbc46da6cd56011cfee1.tar.xz
linux-dev-140ad6c8c6c7a89546cdcbc46da6cd56011cfee1.zip
net: phy: mdio-moxart: remove unneeded include
mdio-moxart doesn't use regulators in the driver code. We can remove the regulator include. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/phy/mdio-moxart.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-moxart.c b/drivers/net/phy/mdio-moxart.c
index 2d16fc4173c1..b72c6d185175 100644
--- a/drivers/net/phy/mdio-moxart.c
+++ b/drivers/net/phy/mdio-moxart.c
@@ -12,7 +12,6 @@
#include <linux/of_mdio.h>
#include <linux/phy.h>
#include <linux/platform_device.h>
-#include <linux/regulator/consumer.h>
#define REG_PHY_CTRL 0
#define REG_PHY_WRITE_DATA 4