aboutsummaryrefslogtreecommitdiffstats
path: root/tools/iio
diff options
context:
space:
mode:
Diffstat (limited to 'tools/iio')
-rw-r--r--tools/iio/iio_event_monitor.c5
-rw-r--r--tools/iio/iio_generic_buffer.c6
-rw-r--r--tools/iio/iio_utils.c5
-rw-r--r--tools/iio/iio_utils.h5
-rw-r--r--tools/iio/lsiio.c5
5 files changed, 5 insertions, 21 deletions
diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c
index 7bf9bde28bcc..f115d166c985 100644
--- a/tools/iio/iio_event_monitor.c
+++ b/tools/iio/iio_event_monitor.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* Industrialio event test code. 2/* Industrialio event test code.
2 * 3 *
3 * Copyright (c) 2011-2012 Lars-Peter Clausen <lars@metafoo.de> 4 * Copyright (c) 2011-2012 Lars-Peter Clausen <lars@metafoo.de>
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 *
9 * This program is primarily intended as an example application. 6 * This program is primarily intended as an example application.
10 * Reads the current buffer setup from sysfs and starts a short capture 7 * Reads the current buffer setup from sysfs and starts a short capture
11 * from the specified device, pretty printing the result after appropriate 8 * from the specified device, pretty printing the result after appropriate
diff --git a/tools/iio/iio_generic_buffer.c b/tools/iio/iio_generic_buffer.c
index 84545666a09c..34d63bcebcd2 100644
--- a/tools/iio/iio_generic_buffer.c
+++ b/tools/iio/iio_generic_buffer.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* Industrialio buffer test code. 2/* Industrialio buffer test code.
2 * 3 *
3 * Copyright (c) 2008 Jonathan Cameron 4 * Copyright (c) 2008 Jonathan Cameron
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 *
9 * This program is primarily intended as an example application. 6 * This program is primarily intended as an example application.
10 * Reads the current buffer setup from sysfs and starts a short capture 7 * Reads the current buffer setup from sysfs and starts a short capture
11 * from the specified device, pretty printing the result after appropriate 8 * from the specified device, pretty printing the result after appropriate
@@ -15,7 +12,6 @@
15 * generic_buffer -n <device_name> -t <trigger_name> 12 * generic_buffer -n <device_name> -t <trigger_name>
16 * If trigger name is not specified the program assumes you want a dataready 13 * If trigger name is not specified the program assumes you want a dataready
17 * trigger associated with the device and goes looking for it. 14 * trigger associated with the device and goes looking for it.
18 *
19 */ 15 */
20 16
21#include <unistd.h> 17#include <unistd.h>
diff --git a/tools/iio/iio_utils.c b/tools/iio/iio_utils.c
index 7a6d61c6c012..a22b6e8fad46 100644
--- a/tools/iio/iio_utils.c
+++ b/tools/iio/iio_utils.c
@@ -1,10 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* IIO - useful set of util functionality 2/* IIO - useful set of util functionality
2 * 3 *
3 * Copyright (c) 2008 Jonathan Cameron 4 * Copyright (c) 2008 Jonathan Cameron
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */ 5 */
9#include <string.h> 6#include <string.h>
10#include <stdlib.h> 7#include <stdlib.h>
diff --git a/tools/iio/iio_utils.h b/tools/iio/iio_utils.h
index 8b379da26e35..74bde4fde2c8 100644
--- a/tools/iio/iio_utils.h
+++ b/tools/iio/iio_utils.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _IIO_UTILS_H_ 2#ifndef _IIO_UTILS_H_
2#define _IIO_UTILS_H_ 3#define _IIO_UTILS_H_
3 4
4/* IIO - useful set of util functionality 5/* IIO - useful set of util functionality
5 * 6 *
6 * Copyright (c) 2008 Jonathan Cameron 7 * Copyright (c) 2008 Jonathan Cameron
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License version 2 as published by
10 * the Free Software Foundation.
11 */ 8 */
12 9
13#include <stdint.h> 10#include <stdint.h>
diff --git a/tools/iio/lsiio.c b/tools/iio/lsiio.c
index ab0f5cf16025..2cf56fb2449b 100644
--- a/tools/iio/lsiio.c
+++ b/tools/iio/lsiio.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Industrial I/O utilities - lsiio.c 3 * Industrial I/O utilities - lsiio.c
3 * 4 *
4 * Copyright (c) 2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> 5 * Copyright (c) 2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
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#include <string.h> 8#include <string.h>