* [PATCH v1 1/1] platform/mellanox: nvsw-sn2201: Drop unused include
@ 2026-03-20 22:20 Andy Shevchenko
2026-03-23 10:46 ` Ilpo Järvinen
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2026-03-20 22:20 UTC (permalink / raw)
To: Ilpo Järvinen, Vadim Pasternak, platform-driver-x86,
linux-kernel
Cc: Hans de Goede, Andy Shevchenko
This driver includes the legacy header <linux/gpio.h> but does
not use any symbols from it. Drop the inclusion.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/platform/mellanox/nvsw-sn2201.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/platform/mellanox/nvsw-sn2201.c b/drivers/platform/mellanox/nvsw-sn2201.c
index 51504113c17e..92b58ba8f97b 100644
--- a/drivers/platform/mellanox/nvsw-sn2201.c
+++ b/drivers/platform/mellanox/nvsw-sn2201.c
@@ -10,7 +10,6 @@
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
-#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/platform_data/mlxcpld.h>
#include <linux/platform_data/mlxreg.h>
--
2.50.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] platform/mellanox: nvsw-sn2201: Drop unused include
2026-03-20 22:20 [PATCH v1 1/1] platform/mellanox: nvsw-sn2201: Drop unused include Andy Shevchenko
@ 2026-03-23 10:46 ` Ilpo Järvinen
0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2026-03-23 10:46 UTC (permalink / raw)
To: Vadim Pasternak, platform-driver-x86, linux-kernel,
Andy Shevchenko
Cc: Hans de Goede
On Fri, 20 Mar 2026 23:20:33 +0100, Andy Shevchenko wrote:
> This driver includes the legacy header <linux/gpio.h> but does
> not use any symbols from it. Drop the inclusion.
>
>
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/mellanox: nvsw-sn2201: Drop unused include
commit: 8786af7704e6289c69d2723def3ca406a15c0dff
--
i.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-23 10:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 22:20 [PATCH v1 1/1] platform/mellanox: nvsw-sn2201: Drop unused include Andy Shevchenko
2026-03-23 10:46 ` Ilpo Järvinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox