All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] fjes: Use DEFINE_RES_MEM() and DEFINE_RES_IRQ() to simplify code
@ 2021-06-01  6:27 Zhen Lei
  2021-06-01 22:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Zhen Lei @ 2021-06-01  6:27 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, netdev, linux-kernel; +Cc: Zhen Lei

No functional change.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 drivers/net/fjes/fjes_main.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c
index 466622664424dcd..d098b1fcf0067b1 100644
--- a/drivers/net/fjes/fjes_main.c
+++ b/drivers/net/fjes/fjes_main.c
@@ -90,16 +90,8 @@ static struct platform_driver fjes_driver = {
 };
 
 static struct resource fjes_resource[] = {
-	{
-		.flags = IORESOURCE_MEM,
-		.start = 0,
-		.end = 0,
-	},
-	{
-		.flags = IORESOURCE_IRQ,
-		.start = 0,
-		.end = 0,
-	},
+	DEFINE_RES_MEM(0, 1),
+	DEFINE_RES_IRQ(0)
 };
 
 static bool is_extended_socket_device(struct acpi_device *device)
-- 
2.26.0.106.g9fadedd



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] fjes: Use DEFINE_RES_MEM() and DEFINE_RES_IRQ() to simplify code
  2021-06-01  6:27 [PATCH 1/1] fjes: Use DEFINE_RES_MEM() and DEFINE_RES_IRQ() to simplify code Zhen Lei
@ 2021-06-01 22:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-01 22:30 UTC (permalink / raw)
  To: Zhen Lei; +Cc: davem, kuba, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Tue, 1 Jun 2021 14:27:36 +0800 you wrote:
> No functional change.
> 
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
> ---
>  drivers/net/fjes/fjes_main.c | 12 ++----------
>  1 file changed, 2 insertions(+), 10 deletions(-)

Here is the summary with links:
  - [1/1] fjes: Use DEFINE_RES_MEM() and DEFINE_RES_IRQ() to simplify code
    https://git.kernel.org/netdev/net-next/c/d153ef5ce7db

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] 2+ messages in thread

end of thread, other threads:[~2021-06-01 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01  6:27 [PATCH 1/1] fjes: Use DEFINE_RES_MEM() and DEFINE_RES_IRQ() to simplify code Zhen Lei
2021-06-01 22:30 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.