summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2018-01-22 18:34:49 -0800
committerDarren Hart (VMware) <dvhart@infradead.org>2018-01-31 10:36:49 -0800
commit4abdbfa7331ef5a79a6f89d2d8061ac085878756 (patch)
tree18c43d3c5593b03d5a295075ee5ef6584d344db3 /drivers/platform
parent1f976f6978bf6156ce822eb279ac86c519b10329 (diff)
downloadblackbird-op-linux-4abdbfa7331ef5a79a6f89d2d8061ac085878756.tar.gz
blackbird-op-linux-4abdbfa7331ef5a79a6f89d2d8061ac085878756.zip
platform/mellanox: mlxreg-hotplug: Remove unused wait.h include
The driver does not make use of anything defined in wait.h. Signed-off-by: Vadim Pasternak <vadimp@mellanox.com> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com> [dvhart: refactor into smaller functional changes, leave spinlock.h] Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/mellanox/mlxreg-hotplug.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/mellanox/mlxreg-hotplug.c b/drivers/platform/mellanox/mlxreg-hotplug.c
index 5cfc82ba34be..e55f57639cc1 100644
--- a/drivers/platform/mellanox/mlxreg-hotplug.c
+++ b/drivers/platform/mellanox/mlxreg-hotplug.c
@@ -42,7 +42,6 @@
#include <linux/platform_data/mlxreg.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
-#include <linux/wait.h>
#include <linux/workqueue.h>
/* Offset of event and mask registers from status register */
OpenPOWER on IntegriCloud