* [PATCH net-next v1 1/1] net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one
@ 2024-05-08 11:45 Andy Shevchenko
2024-05-10 10:58 ` Simon Horman
2024-05-11 2:00 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2024-05-08 11:45 UTC (permalink / raw)
To: netdev, linux-kernel
Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Andy Shevchenko
linux/gpio.h is deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/net/ethernet/adi/adin1110.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/adi/adin1110.c b/drivers/net/ethernet/adi/adin1110.c
index 8b4ef5121308..0713f1e2c7f3 100644
--- a/drivers/net/ethernet/adi/adin1110.c
+++ b/drivers/net/ethernet/adi/adin1110.c
@@ -11,10 +11,10 @@
#include <linux/crc8.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
+#include <linux/gpio/consumer.h>
#include <linux/if_bridge.h>
#include <linux/interrupt.h>
#include <linux/iopoll.h>
-#include <linux/gpio.h>
#include <linux/kernel.h>
#include <linux/mii.h>
#include <linux/module.h>
--
2.43.0.rc1.1336.g36b5255a03ac
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next v1 1/1] net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one
2024-05-08 11:45 [PATCH net-next v1 1/1] net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one Andy Shevchenko
@ 2024-05-10 10:58 ` Simon Horman
2024-05-11 2:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2024-05-10 10:58 UTC (permalink / raw)
To: Andy Shevchenko
Cc: netdev, linux-kernel, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Ciprian Regus, Yang Yingliang
+ Ciprian Regus and Yang Yingliang (via get_maintainer.pl)
On Wed, May 08, 2024 at 02:45:19PM +0300, Andy Shevchenko wrote:
> linux/gpio.h is deprecated and subject to remove.
> The driver doesn't use it directly, replace it
> with what is really being used.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
> ---
> drivers/net/ethernet/adi/adin1110.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/adi/adin1110.c b/drivers/net/ethernet/adi/adin1110.c
> index 8b4ef5121308..0713f1e2c7f3 100644
> --- a/drivers/net/ethernet/adi/adin1110.c
> +++ b/drivers/net/ethernet/adi/adin1110.c
> @@ -11,10 +11,10 @@
> #include <linux/crc8.h>
> #include <linux/etherdevice.h>
> #include <linux/ethtool.h>
> +#include <linux/gpio/consumer.h>
> #include <linux/if_bridge.h>
> #include <linux/interrupt.h>
> #include <linux/iopoll.h>
> -#include <linux/gpio.h>
> #include <linux/kernel.h>
> #include <linux/mii.h>
> #include <linux/module.h>
> --
> 2.43.0.rc1.1336.g36b5255a03ac
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next v1 1/1] net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one
2024-05-08 11:45 [PATCH net-next v1 1/1] net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one Andy Shevchenko
2024-05-10 10:58 ` Simon Horman
@ 2024-05-11 2:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-05-11 2:00 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: netdev, linux-kernel, davem, edumazet, kuba, pabeni
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 8 May 2024 14:45:19 +0300 you wrote:
> linux/gpio.h is deprecated and subject to remove.
> The driver doesn't use it directly, replace it
> with what is really being used.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/net/ethernet/adi/adin1110.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net-next,v1,1/1] net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one
https://git.kernel.org/netdev/net-next/c/84c8b7ad5e74
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-11 2:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 11:45 [PATCH net-next v1 1/1] net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one Andy Shevchenko
2024-05-10 10:58 ` Simon Horman
2024-05-11 2:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).