[RFC PATCH 2/3] net: stmmac: dwmac-rk: clean up includes
Michael Riesch
michael.riesch at wolfvision.net
Wed Sep 15 10:02:54 PDT 2021
Sort includes alphabetically and remove unused includes.
Signed-off-by: Michael Riesch <michael.riesch at wolfvision.net>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
index 0db8be543ee1..96ec7d73a74a 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
@@ -7,20 +7,16 @@
* Chen-Zhi (Roger Chen) <roger.chen at rock-chips.com>
*/
-#include <linux/stmmac.h>
-#include <linux/bitops.h>
#include <linux/clk.h>
-#include <linux/phy.h>
-#include <linux/of_net.h>
-#include <linux/gpio.h>
+#include <linux/mfd/syscon.h>
#include <linux/module.h>
-#include <linux/of_gpio.h>
#include <linux/of_device.h>
+#include <linux/of_net.h>
+#include <linux/phy.h>
#include <linux/platform_device.h>
-#include <linux/regulator/consumer.h>
-#include <linux/delay.h>
-#include <linux/mfd/syscon.h>
#include <linux/regmap.h>
+#include <linux/regulator/consumer.h>
+#include <linux/stmmac.h>
#include "stmmac_platform.h"
--
2.17.1
More information about the Linux-rockchip
mailing list