linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] gpio: mockup: minor maintenance
@ 2020-01-14 15:02 Bartosz Golaszewski
  2020-01-14 15:02 ` [PATCH 1/2] gpio: mockup: update the license tag Bartosz Golaszewski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2020-01-14 15:02 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Just two tweaks to the testing driver: update the license tag to conform
with the current SPDX list and sort the headers alphabetically for easier
maintenance.

Bartosz Golaszewski (2):
  gpio: mockup: update the license tag
  gpio: mockup: sort headers alphabetically

 drivers/gpio/gpio-mockup.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

-- 
2.23.0


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

* [PATCH 1/2] gpio: mockup: update the license tag
  2020-01-14 15:02 [PATCH 0/2] gpio: mockup: minor maintenance Bartosz Golaszewski
@ 2020-01-14 15:02 ` Bartosz Golaszewski
  2020-01-14 15:02 ` [PATCH 2/2] gpio: mockup: sort headers alphabetically Bartosz Golaszewski
  2020-01-15 10:28 ` [PATCH 0/2] gpio: mockup: minor maintenance Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2020-01-14 15:02 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

The current GPL v2.0 or later SPDX tag is 'GPL-2.0-or-later' as defined
at https://spdx.org/licenses/.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 drivers/gpio/gpio-mockup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c
index 94b8d3ae27bc..5f81f087103f 100644
--- a/drivers/gpio/gpio-mockup.c
+++ b/drivers/gpio/gpio-mockup.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * GPIO Testing Device Driver
  *
-- 
2.23.0


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

* [PATCH 2/2] gpio: mockup: sort headers alphabetically
  2020-01-14 15:02 [PATCH 0/2] gpio: mockup: minor maintenance Bartosz Golaszewski
  2020-01-14 15:02 ` [PATCH 1/2] gpio: mockup: update the license tag Bartosz Golaszewski
@ 2020-01-14 15:02 ` Bartosz Golaszewski
  2020-01-15 10:28 ` [PATCH 0/2] gpio: mockup: minor maintenance Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2020-01-14 15:02 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

For consistency and easier maintenance: sort the headers alphabetically.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 drivers/gpio/gpio-mockup.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c
index 5f81f087103f..7d343bea784a 100644
--- a/drivers/gpio/gpio-mockup.c
+++ b/drivers/gpio/gpio-mockup.c
@@ -7,18 +7,18 @@
  * Copyright (C) 2017 Bartosz Golaszewski <brgl@bgdev.pl>
  */
 
-#include <linux/init.h>
-#include <linux/module.h>
-#include <linux/gpio/driver.h>
+#include <linux/debugfs.h>
 #include <linux/gpio/consumer.h>
-#include <linux/platform_device.h>
-#include <linux/slab.h>
+#include <linux/gpio/driver.h>
+#include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
 #include <linux/irq_sim.h>
-#include <linux/debugfs.h>
-#include <linux/uaccess.h>
+#include <linux/module.h>
+#include <linux/platform_device.h>
 #include <linux/property.h>
+#include <linux/slab.h>
+#include <linux/uaccess.h>
 
 #include "gpiolib.h"
 
-- 
2.23.0


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

* Re: [PATCH 0/2] gpio: mockup: minor maintenance
  2020-01-14 15:02 [PATCH 0/2] gpio: mockup: minor maintenance Bartosz Golaszewski
  2020-01-14 15:02 ` [PATCH 1/2] gpio: mockup: update the license tag Bartosz Golaszewski
  2020-01-14 15:02 ` [PATCH 2/2] gpio: mockup: sort headers alphabetically Bartosz Golaszewski
@ 2020-01-15 10:28 ` Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2020-01-15 10:28 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: open list:GPIO SUBSYSTEM, linux-kernel, Bartosz Golaszewski

On Tue, Jan 14, 2020 at 4:02 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> Just two tweaks to the testing driver: update the license tag to conform
> with the current SPDX list and sort the headers alphabetically for easier
> maintenance.

Thanks Bartosz,

I just applied both patches so you don't need to bother with pull requests
for these two.

Yours,
Linus Walleij

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

end of thread, other threads:[~2020-01-15 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14 15:02 [PATCH 0/2] gpio: mockup: minor maintenance Bartosz Golaszewski
2020-01-14 15:02 ` [PATCH 1/2] gpio: mockup: update the license tag Bartosz Golaszewski
2020-01-14 15:02 ` [PATCH 2/2] gpio: mockup: sort headers alphabetically Bartosz Golaszewski
2020-01-15 10:28 ` [PATCH 0/2] gpio: mockup: minor maintenance Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).