diff mbox series

[-next] gpio: remove unused including <linux/version.h>

Message ID 20200408070832.137037-1-yuehaibing@huawei.com
State New
Headers show
Series [-next] gpio: remove unused including <linux/version.h> | expand

Commit Message

Yue Haibing April 8, 2020, 7:08 a.m. UTC
Remove including <linux/version.h> that don't need it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/gpio/gpio-mlxbf2.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Asmaa Mnebhi April 8, 2020, 12:50 p.m. UTC | #1
Acked-by: asmaa@mellanox.com

-----Original Message-----
From: YueHaibing <yuehaibing@huawei.com> 
Sent: Wednesday, April 8, 2020 3:09 AM
To: Linus Walleij <linus.walleij@linaro.org>; Asmaa Mnebhi <Asmaa@mellanox.com>; Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: YueHaibing <yuehaibing@huawei.com>; linux-gpio@vger.kernel.org; kernel-janitors@vger.kernel.org
Subject: [PATCH -next] gpio: remove unused including <linux/version.h>

Remove including <linux/version.h> that don't need it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/gpio/gpio-mlxbf2.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/gpio-mlxbf2.c b/drivers/gpio/gpio-mlxbf2.c index 7b7085050219..240b488609ac 100644
--- a/drivers/gpio/gpio-mlxbf2.c
+++ b/drivers/gpio/gpio-mlxbf2.c
@@ -14,7 +14,6 @@
 #include <linux/resource.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
-#include <linux/version.h>
 
 /*
  * There are 3 YU GPIO blocks:
Linus Walleij April 16, 2020, 10:42 a.m. UTC | #2
On Wed, Apr 8, 2020 at 9:06 AM YueHaibing <yuehaibing@huawei.com> wrote:

> Remove including <linux/version.h> that don't need it.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Patch applied with subject change to indicate the driver.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-mlxbf2.c b/drivers/gpio/gpio-mlxbf2.c
index 7b7085050219..240b488609ac 100644
--- a/drivers/gpio/gpio-mlxbf2.c
+++ b/drivers/gpio/gpio-mlxbf2.c
@@ -14,7 +14,6 @@ 
 #include <linux/resource.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
-#include <linux/version.h>
 
 /*
  * There are 3 YU GPIO blocks: