[PATCH v1 1/1] net: stmmac: dwmac-rk: Remove unused of_gpio.h
Sebastian Reichel
sebastian.reichel at collabora.com
Wed Mar 13 07:17:11 PDT 2024
Hi,
On Wed, Mar 13, 2024 at 04:00:57PM +0200, Andy Shevchenko wrote:
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it, simply remove the unused header.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
Reviewed-by: Sebastian Reichel <sebastian.reichel at collabora.com>
-- Sebastian
> drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
> index 382e8de1255d..7ae04d8d291c 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
> @@ -12,10 +12,8 @@
> #include <linux/clk.h>
> #include <linux/phy.h>
> #include <linux/of_net.h>
> -#include <linux/gpio.h>
> #include <linux/module.h>
> #include <linux/of.h>
> -#include <linux/of_gpio.h>
> #include <linux/platform_device.h>
> #include <linux/regulator/consumer.h>
> #include <linux/delay.h>
> --
> 2.43.0.rc1.1.gbec44491f096
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240313/a4a97184/attachment.sig>
More information about the linux-arm-kernel
mailing list