| .. | .. |
|---|
| 1 | | -/** |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 2 | +/* |
|---|
| 2 | 3 | * 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. |
|---|
| 7 | 4 | * |
|---|
| 8 | 5 | * Event handling elements of industrial I/O reference driver. |
|---|
| 9 | 6 | */ |
|---|
| .. | .. |
|---|
| 110 | 107 | * @dir: direction of the vent whose value is being read |
|---|
| 111 | 108 | * @info: info type of the event whose value is being read |
|---|
| 112 | 109 | * @val: value for the event code. |
|---|
| 110 | + * @val2: unused |
|---|
| 113 | 111 | * |
|---|
| 114 | 112 | * Many devices provide a large set of events of which only a subset may |
|---|
| 115 | 113 | * be enabled at a time, with value registers whose meaning changes depending |
|---|
| .. | .. |
|---|
| 139 | 137 | * @dir: direction of the vent whose value is being set |
|---|
| 140 | 138 | * @info: info type of the event whose value is being set |
|---|
| 141 | 139 | * @val: the value to be set. |
|---|
| 140 | + * @val2: unused |
|---|
| 142 | 141 | */ |
|---|
| 143 | 142 | int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev, |
|---|
| 144 | 143 | const struct iio_chan_spec *chan, |
|---|