LKML Archive on lore.kernel.org
 help / color / 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	[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	[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, back to index

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

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git
	git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org
	public-inbox-index lkml

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git