.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * GPIO chardev test helper |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2016 Bamvor Jian Zhang |
---|
5 | | - * |
---|
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 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #define _GNU_SOURCE |
---|
12 | 9 | #include <unistd.h> |
---|
13 | 10 | #include <stdio.h> |
---|
14 | 11 | #include <stdlib.h> |
---|
15 | | -#include <stdio.h> |
---|
16 | 12 | #include <errno.h> |
---|
17 | 13 | #include <string.h> |
---|
18 | 14 | #include <fcntl.h> |
---|