forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/iio/dummy/iio_simple_dummy_events.c
....@@ -1,9 +1,6 @@
1
-/**
1
+// SPDX-License-Identifier: GPL-2.0-only
2
+/*
23 * Copyright (c) 2011 Jonathan Cameron
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms of the GNU General Public License version 2 as published by
6
- * the Free Software Foundation.
74 *
85 * Event handling elements of industrial I/O reference driver.
96 */
....@@ -110,6 +107,7 @@
110107 * @dir: direction of the vent whose value is being read
111108 * @info: info type of the event whose value is being read
112109 * @val: value for the event code.
110
+ * @val2: unused
113111 *
114112 * Many devices provide a large set of events of which only a subset may
115113 * be enabled at a time, with value registers whose meaning changes depending
....@@ -139,6 +137,7 @@
139137 * @dir: direction of the vent whose value is being set
140138 * @info: info type of the event whose value is being set
141139 * @val: the value to be set.
140
+ * @val2: unused
142141 */
143142 int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev,
144143 const struct iio_chan_spec *chan,