gpio: mockup: minor maintenance
Subsystems (2)
cover gpio: mockup: minor maintenance
From: Bartosz Golaszewski <[email protected]>
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(-)
Signature · 1 line
2.23.0
PATCH 1/2 gpio: mockup: update the license tag
From: Bartosz Golaszewski <[email protected]>
The current GPL v2.0 or later SPDX tag is 'GPL-2.0-or-later' as defined at https://spdx.org/licenses/.
--- drivers/gpio/gpio-mockup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-mockup.c +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +// SPDX-License-Identifier: GPL-2.0-or-later /* * GPIO Testing Device Driver *
Signature · 1 line
2.23.0
PATCH 2/2 gpio: mockup: sort headers alphabetically
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
For consistency and easier maintenance: sort the headers alphabetically.
--- drivers/gpio/gpio-mockup.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/gpio/gpio-mockup.c +7 -7
@@ -7,18 +7,18 @@* Copyright (C) 2017 Bartosz Golaszewski <[email protected]> */ -#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"
Signature · 1 line
2.23.0
Quoted 5 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
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