From 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 13 May 2024 10:30:14 +0000 Subject: [PATCH] modify sin led gpio --- kernel/drivers/iio/dummy/iio_simple_dummy_events.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel/drivers/iio/dummy/iio_simple_dummy_events.c b/kernel/drivers/iio/dummy/iio_simple_dummy_events.c index 7ec2a0b..63a2b84 100644 --- a/kernel/drivers/iio/dummy/iio_simple_dummy_events.c +++ b/kernel/drivers/iio/dummy/iio_simple_dummy_events.c @@ -1,9 +1,6 @@ -/** +// SPDX-License-Identifier: GPL-2.0-only +/* * Copyright (c) 2011 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. * * Event handling elements of industrial I/O reference driver. */ @@ -110,6 +107,7 @@ * @dir: direction of the vent whose value is being read * @info: info type of the event whose value is being read * @val: value for the event code. + * @val2: unused * * Many devices provide a large set of events of which only a subset may * be enabled at a time, with value registers whose meaning changes depending @@ -139,6 +137,7 @@ * @dir: direction of the vent whose value is being set * @info: info type of the event whose value is being set * @val: the value to be set. + * @val2: unused */ int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, -- Gitblit v1.6.2