diff options
Diffstat (limited to 'tools/gpio')
-rw-r--r-- | tools/gpio/gpio-event-mon.c | 5 | ||||
-rw-r--r-- | tools/gpio/gpio-hammer.c | 5 | ||||
-rw-r--r-- | tools/gpio/gpio-utils.c | 5 | ||||
-rw-r--r-- | tools/gpio/gpio-utils.h | 4 | ||||
-rw-r--r-- | tools/gpio/lsgpio.c | 5 |
5 files changed, 5 insertions, 19 deletions
diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c index c864544efe05..30ed0e06f52a 100644 --- a/tools/gpio/gpio-event-mon.c +++ b/tools/gpio/gpio-event-mon.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * gpio-event-mon - monitor GPIO line events from userspace | 3 | * gpio-event-mon - monitor GPIO line events from userspace |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Linus Walleij | 5 | * Copyright (C) 2016 Linus Walleij |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Usage: | 7 | * Usage: |
11 | * gpio-event-mon -n <device-name> -o <offset> | 8 | * gpio-event-mon -n <device-name> -o <offset> |
12 | */ | 9 | */ |
diff --git a/tools/gpio/gpio-hammer.c b/tools/gpio/gpio-hammer.c index 4bcb234c0fca..0e0060a6eb34 100644 --- a/tools/gpio/gpio-hammer.c +++ b/tools/gpio/gpio-hammer.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * gpio-hammer - example swiss army knife to shake GPIO lines on a system | 3 | * gpio-hammer - example swiss army knife to shake GPIO lines on a system |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Linus Walleij | 5 | * Copyright (C) 2016 Linus Walleij |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Usage: | 7 | * Usage: |
11 | * gpio-hammer -n <device-name> -o <offset1> -o <offset2> | 8 | * gpio-hammer -n <device-name> -o <offset1> -o <offset2> |
12 | */ | 9 | */ |
diff --git a/tools/gpio/gpio-utils.c b/tools/gpio/gpio-utils.c index cf7e2f3419ee..53470de6a502 100644 --- a/tools/gpio/gpio-utils.c +++ b/tools/gpio/gpio-utils.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * GPIO tools - helpers library for the GPIO tools | 3 | * GPIO tools - helpers library for the GPIO tools |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Linus Walleij | 5 | * Copyright (C) 2015 Linus Walleij |
5 | * Copyright (C) 2016 Bamvor Jian Zhang | 6 | * Copyright (C) 2016 Bamvor Jian Zhang |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <unistd.h> | 9 | #include <unistd.h> |
diff --git a/tools/gpio/gpio-utils.h b/tools/gpio/gpio-utils.h index 344ea041f8d4..cf37f13f3dcb 100644 --- a/tools/gpio/gpio-utils.h +++ b/tools/gpio/gpio-utils.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * GPIO tools - utility helpers library for the GPIO tools | 3 | * GPIO tools - utility helpers library for the GPIO tools |
3 | * | 4 | * |
@@ -7,9 +8,6 @@ | |||
7 | * Copyright (c) 2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> | 8 | * Copyright (c) 2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> |
8 | * Copyright (c) 2008 Jonathan Cameron | 9 | * Copyright (c) 2008 Jonathan Cameron |
9 | * * | 10 | * * |
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | 11 | */ |
14 | #ifndef _GPIO_UTILS_H_ | 12 | #ifndef _GPIO_UTILS_H_ |
15 | #define _GPIO_UTILS_H_ | 13 | #define _GPIO_UTILS_H_ |
diff --git a/tools/gpio/lsgpio.c b/tools/gpio/lsgpio.c index eb3f56efd215..e1430f504c13 100644 --- a/tools/gpio/lsgpio.c +++ b/tools/gpio/lsgpio.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * lsgpio - example on how to list the GPIO lines on a system | 3 | * lsgpio - example on how to list the GPIO lines on a system |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Linus Walleij | 5 | * Copyright (C) 2015 Linus Walleij |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Usage: | 7 | * Usage: |
11 | * lsgpio <-n device-name> | 8 | * lsgpio <-n device-name> |
12 | */ | 9 | */ |