Skip to contentSkip to conversation

platform/mellanox: nvsw-sn2201: Drop unused include

PATCH In review Andy Shevchenko 2 participants 2 messages Mar 20 – Mar 23

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/mellanox: nvsw-sn2201: Drop unused include

This driver includes the legacy header <linux/gpio.h> but does not use any symbols from it. Drop the inclusion.

---
 drivers/platform/mellanox/nvsw-sn2201.c | 1 -
 1 file changed, 1 deletion(-)
drivers/platform/mellanox/nvsw-sn2201.c +0 -1
index 51504113c17e..92b58ba8f97b 100644
@@ -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>
Signature · 1 line
2.50.1
maintainer
#1 lore raw
Quoted 4 lines · Andy Shevchenko

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.